summaryrefslogtreecommitdiff
path: root/net/wireshark/patches
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2011-01-31 12:21:34 +0000
committeradam <adam@pkgsrc.org>2011-01-31 12:21:34 +0000
commit8d665e24824aeacd50bf369370b2f7dd750c40a2 (patch)
tree456c7a9a5f6cfac7ceed921c2e84c350e30429f8 /net/wireshark/patches
parent2273b0df02baf7e0f6cc3dcc6d45b29bfacc78e5 (diff)
downloadpkgsrc-8d665e24824aeacd50bf369370b2f7dd750c40a2.tar.gz
Fix building on Mac OS X: pass CFLAGS and LDFLAGS when making tools/lemon
Diffstat (limited to 'net/wireshark/patches')
-rw-r--r--net/wireshark/patches/patch-ae13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/wireshark/patches/patch-ae b/net/wireshark/patches/patch-ae
new file mode 100644
index 00000000000..9ab4d2bad56
--- /dev/null
+++ b/net/wireshark/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.3 2011/01/31 12:21:34 adam Exp $
+
+--- tools/lemon/Makefile.in.orig 2011-01-31 12:03:39.000000000 +0000
++++ tools/lemon/Makefile.in
+@@ -631,7 +631,7 @@ uninstall-am: uninstall-info-am
+
+
+ lemon$(EXEEXT): lemon.c
+- $(CC_FOR_BUILD) -D_U_="" $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ $?
++ $(CC_FOR_BUILD) -D_U_="" $(CFLAGS) $(LDFLAGS) -o $@ $?
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT: