summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2013-05-11 21:15:55 +0000
committeragc <agc@pkgsrc.org>2013-05-11 21:15:55 +0000
commit9410ca267c4e3c1da9e90531ecfe3748d37453a0 (patch)
tree475647ba942cb0d4b38be30883f49c9165a300c6
parentcb4b2df45a26502c682293331ea3d04682383522 (diff)
downloadpkgsrc-9410ca267c4e3c1da9e90531ecfe3748d37453a0.tar.gz
Allow this package to be cross-built too - take the compiler from
the environment if it's there.
-rw-r--r--security/ipv6-toolkit/distinfo3
-rw-r--r--security/ipv6-toolkit/patches/patch-Makefile15
2 files changed, 17 insertions, 1 deletions
diff --git a/security/ipv6-toolkit/distinfo b/security/ipv6-toolkit/distinfo
index 7efd7c8bb6e..d5563d4812e 100644
--- a/security/ipv6-toolkit/distinfo
+++ b/security/ipv6-toolkit/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.5 2013/04/18 04:23:17 agc Exp $
+$NetBSD: distinfo,v 1.6 2013/05/11 21:15:55 agc Exp $
SHA1 (ipv6-toolkit-v1.3.4.tar.gz) = c9428aff0de23960de1b3385caac689e25b06aab
RMD160 (ipv6-toolkit-v1.3.4.tar.gz) = 22c26424d4af075bc23c35ea85343d706af32b25
Size (ipv6-toolkit-v1.3.4.tar.gz) = 1052088 bytes
+SHA1 (patch-Makefile) = 2b5938a09f8daf3183d08c41bc73412cf31221cf
SHA1 (patch-aa) = 594fb41b77258cae0d3ba81a78144c312728faa8
diff --git a/security/ipv6-toolkit/patches/patch-Makefile b/security/ipv6-toolkit/patches/patch-Makefile
new file mode 100644
index 00000000000..5b80892c041
--- /dev/null
+++ b/security/ipv6-toolkit/patches/patch-Makefile
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile,v 1.1 2013/05/11 21:15:55 agc Exp $
+
+Take ${CC} from environment
+
+--- Makefile 2013/05/11 20:47:52 1.1
++++ Makefile 2013/05/11 20:48:02
+@@ -1,7 +1,7 @@
+ #
+ # SI6 Networks' IPv6 toolkit Makefile
+ #
+-CC= gcc
++CC?= gcc
+ CFLAGS+= -Wall
+ LDFLAGS+= -lpcap -lm
+ MANPATH= /usr/share/man