summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortnn <tnn>2009-12-20 23:22:35 +0000
committertnn <tnn>2009-12-20 23:22:35 +0000
commitead8e029ee89c009482db91b7f7df1e6d9423a6c (patch)
tree90eabff68fde373487b61e3d589151f7288f63ee
parent8cc2634ee284e892ca3c3ee652182a974a5d5996 (diff)
downloadpkgsrc-ead8e029ee89c009482db91b7f7df1e6d9423a6c.tar.gz
Don't feed CFLAGS to linker when building example program.
-rw-r--r--devel/libdaemon/distinfo3
-rw-r--r--devel/libdaemon/patches/patch-aa13
2 files changed, 15 insertions, 1 deletions
diff --git a/devel/libdaemon/distinfo b/devel/libdaemon/distinfo
index b5afa1df452..aeb63331af9 100644
--- a/devel/libdaemon/distinfo
+++ b/devel/libdaemon/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.5 2009/10/31 02:54:34 wiz Exp $
+$NetBSD: distinfo,v 1.6 2009/12/20 23:22:35 tnn Exp $
SHA1 (libdaemon-0.14.tar.gz) = 78a4db58cf3a7a8906c35592434e37680ca83b8f
RMD160 (libdaemon-0.14.tar.gz) = 952ae993fecfe3ec765dfa43b2690a83f1a5c939
Size (libdaemon-0.14.tar.gz) = 340474 bytes
+SHA1 (patch-aa) = f0d309bd98b19a9fcec785edfe686dd33746bf46
diff --git a/devel/libdaemon/patches/patch-aa b/devel/libdaemon/patches/patch-aa
new file mode 100644
index 00000000000..852e1b0bd05
--- /dev/null
+++ b/devel/libdaemon/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.4 2009/12/20 23:22:35 tnn Exp $
+
+--- examples/Makefile.in.orig 2009-10-17 02:08:52.000000000 +0000
++++ examples/Makefile.in
+@@ -92,7 +92,7 @@ am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERB
+ am__v_at_0 = @
+ CCLD = $(CC)
+ LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+- $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++ $(LIBTOOLFLAGS) --mode=link $(CCLD) \
+ $(AM_LDFLAGS) $(LDFLAGS) -o $@
+ AM_V_CCLD = $(am__v_CCLD_$(V))
+ am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))