summaryrefslogtreecommitdiff
path: root/graphics/netpbm/patches/patch-ag
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2010-10-28 07:09:13 +0000
committeradam <adam@pkgsrc.org>2010-10-28 07:09:13 +0000
commitaeeba5c8f0b7f6914d0b86d365cd3d03a275d910 (patch)
treed7dc0c7993bae6d274639e8d5ec49be7371707b9 /graphics/netpbm/patches/patch-ag
parente333473860a9cf6bdfc63b60abf339b89377c434 (diff)
downloadpkgsrc-aeeba5c8f0b7f6914d0b86d365cd3d03a275d910.tar.gz
Pass LDFLAGS when building progs; required e.g. for -isysroot on MacOSX
Diffstat (limited to 'graphics/netpbm/patches/patch-ag')
-rw-r--r--graphics/netpbm/patches/patch-ag13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/netpbm/patches/patch-ag b/graphics/netpbm/patches/patch-ag
new file mode 100644
index 00000000000..51ae120521d
--- /dev/null
+++ b/graphics/netpbm/patches/patch-ag
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.20 2010/10/28 07:09:13 adam Exp $
+
+--- buildtools/Makefile.orig 2010-10-28 07:01:24.000000000 +0000
++++ buildtools/Makefile
+@@ -37,7 +37,7 @@ typegen.o endiangen.o:%.o:%.c
+ $(CC_FOR_BUILD) -c $(CFLAGS_FOR_BUILD) -o $@ $<
+
+ $(PROGS):%:%.o
+- $(LD_FOR_BUILD) -o $@ $<
++ $(LD_FOR_BUILD) $(LDFLAGS) -o $@ $<
+
+ distclean clean: cleanlocal
+ .PHONY: cleanlocal