summaryrefslogtreecommitdiff
path: root/net/py-libnet
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-10-30 13:25:25 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-10-30 13:25:25 +0000
commitd69c74f80d95719f6776fccb4f5dab196a03adc4 (patch)
treefcf09bc45d3bb78a382a7a6762cb9f686f89c664 /net/py-libnet
parentdevel/SWIG -> devel/swig11 (diff)
devel/SWIG -> devel/swig11
Notes
Notes: svn path=/head/; revision=69158
Diffstat (limited to 'net/py-libnet')
-rw-r--r--net/py-libnet/Makefile2
-rw-r--r--net/py-libnet/files/patch-Makefile7
2 files changed, 5 insertions, 4 deletions
diff --git a/net/py-libnet/Makefile b/net/py-libnet/Makefile
index 754fe07aedac..eded389523a0 100644
--- a/net/py-libnet/Makefile
+++ b/net/py-libnet/Makefile
@@ -16,7 +16,7 @@ DISTNAME= pylibnet-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
-BUILD_DEPENDS= swig:${PORTSDIR}/devel/SWIG \
+BUILD_DEPENDS= ${LOCALBASE}/bin/swig1.1:${PORTSDIR}/devel/swig11 \
${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet
USE_REINPLACE= yes
diff --git a/net/py-libnet/files/patch-Makefile b/net/py-libnet/files/patch-Makefile
index bafbce66fe37..9a9b37665300 100644
--- a/net/py-libnet/files/patch-Makefile
+++ b/net/py-libnet/files/patch-Makefile
@@ -1,8 +1,9 @@
---- Makefile.orig Wed Jan 30 11:16:34 2002
-+++ Makefile Wed Jan 30 11:20:32 2002
+--- Makefile.orig Mon Oct 15 15:54:55 2001
++++ Makefile Wed Oct 30 22:24:31 2002
@@ -1,10 +1,10 @@
- SWIG=/usr/local/bin/swig
+-SWIG=/usr/local/bin/swig
++SWIG=%%LOCALBASE%%/bin/swig1.1
CC=gcc -g
-PYTHON_INCLUDES=-I/usr/include/python1.5
-LIBNET_INCLUDES=-I/usr/include/libnet