1 $NetBSD: patch-ab,v 1.7 2011/09/08 00:24:43 joerg Exp $
3 - Add image libraries to link. (is this needed?)
4 - Honor LDFLAGS so rpaths work.
5 - Configure paths for pkgsrc.
6 - Use optimization level that actually exists (gcc) or works (clang).
8 --- demos/Imakefile.orig 2002-11-19 20:50:52.000000000 +0000
10 @@ -109,7 +109,7 @@ UNSTATIC = -Xlinker -Bdynamic
12 FORMSLIBDIR = $(TOP)/lib
13 FORMSINCDIR = $(FORMSLIBDIR)
14 -FORMSLIB = -L$(FORMSLIBDIR) -lforms
15 +FORMSLIB = -L$(FORMSLIBDIR) -lforms $(JPEGLIB) $(XPMLIB) $(LDFLAGS)
16 DEPFORMSLIB = $(FORMSLIBDIR)/libforms.a
18 IMAGELIBDIR = $(TOP)/image
19 @@ -154,7 +154,7 @@ EXTRA_INCLUDES = \
23 - -I/usr/local/include
24 + -I${LOCALBASE}/include
28 @@ -176,7 +176,7 @@ CDEBUGFLAGS = -g $(OPTIMIZER)
31 IMAKE_OPTIMIZE = -DDoOptimize=1