summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authoragc <agc>1998-05-19 13:13:45 +0000
committeragc <agc>1998-05-19 13:13:45 +0000
commitc0e0b1156d824912c18a418586117b3743d202b8 (patch)
tree14a80509690ebc896f31454c57a68e6c917d4dc2 /graphics
parent895bb08b77a3cf886f11fb52d3af1dedba43bcc1 (diff)
downloadpkgsrc-c0e0b1156d824912c18a418586117b3743d202b8.tar.gz
Don't hardcode /usr/pkg in the Makefile - use the value of ${LOCALBASE},
passed through the environment. Pointed out by Manuel Bouyer.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/netpbm/patches/patch-ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/netpbm/patches/patch-ac b/graphics/netpbm/patches/patch-ac
index 7825d1dd817..101f302a901 100644
--- a/graphics/netpbm/patches/patch-ac
+++ b/graphics/netpbm/patches/patch-ac
@@ -33,7 +33,7 @@
+ $(CC) $(ALLCFLAGS) $(LDFLAGS) -o $@ $@.c $(LIBPNM) $(LIBPPM) $(LIBPGM) $(LIBPBM)
+
+$(PNGBINARIES): pnm.h $(DEFPPM) $(DEFPGM) $(DEFPBM) $(LIBPNM) $(LIBPPM) $(LIBPGM) $(LIBPBM)
-+ $(CC) $(ALLCFLAGS) $(LDFLAGS) -o $@ $@.c $(LIBPNM) $(LIBPPM) $(LIBPGM) $(LIBPBM) -L/usr/pkg/lib -lpng -lz
++ $(CC) $(ALLCFLAGS) $(LDFLAGS) -o $@ $@.c $(LIBPNM) $(LIBPPM) $(LIBPGM) $(LIBPBM) -L${LOCALBASE}/lib -lpng -lz
+
+$(TIFFBINARIES): pnm.h $(DEFPPM) $(DEFPGM) $(DEFPBM) $(LIBPNM) $(LIBPPM) $(LIBPGM) $(LIBPBM)
$(CC) $(ALLCFLAGS) $(LDFLAGS) -o $@ $@.c $(LIBPNM) $(LIBPPM) $(LIBPGM) $(LIBPBM) $(TIFFLIB)