aboutsummaryrefslogtreecommitdiffstats
path: root/net/py-libnet
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-10-30 21:25:25 +0800
committerknu <knu@FreeBSD.org>2002-10-30 21:25:25 +0800
commit3448a4d68b7eee6f359feeefb1f47493c3601953 (patch)
treedc238280f36d0b9f589c34521ed4c58e32639d8e /net/py-libnet
parent0b2d634064c9e5c9236cf80a066626c032e6409b (diff)
downloadfreebsd-ports-graphics-3448a4d68b7eee6f359feeefb1f47493c3601953.tar.gz
freebsd-ports-graphics-3448a4d68b7eee6f359feeefb1f47493c3601953.tar.zst
freebsd-ports-graphics-3448a4d68b7eee6f359feeefb1f47493c3601953.zip
devel/SWIG -> devel/swig11
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 754fe07aeda..eded389523a 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 bafbce66fe3..9a9b3766530 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