aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/py-pcap/Makefile4
-rw-r--r--net/py-pcap/files/patch-setup.py11
2 files changed, 12 insertions, 3 deletions
diff --git a/net/py-pcap/Makefile b/net/py-pcap/Makefile
index 0972f7eccab3..6f70582aed44 100644
--- a/net/py-pcap/Makefile
+++ b/net/py-pcap/Makefile
@@ -1,6 +1,6 @@
# New ports collection makefile for: py-pcap
# Date created: 24 Nov 2001
-# Whom: Hye-Shik Chang <perky@fallin.lv>
+# Whom: Hye-Shik Chang
#
# $FreeBSD$
#
@@ -19,8 +19,6 @@ COMMENT= Python interface to LBL Packet Capture library (libpcap)
BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig11
-BROKEN= Runtime failure after python 2.4 update
-
USE_PYTHON= yes
USE_PYDISTUTILS= yes
USE_PYTHON_PREFIX= yes
diff --git a/net/py-pcap/files/patch-setup.py b/net/py-pcap/files/patch-setup.py
new file mode 100644
index 000000000000..9af11319d8fa
--- /dev/null
+++ b/net/py-pcap/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig Mon Dec 20 01:50:10 2004
++++ setup.py Mon Dec 20 01:50:19 2004
+@@ -21,7 +21,7 @@
+ # self.run_command('make_clean')
+
+ class pcap_build_ext(build_ext):
+- def swig_sources(self, sources):
++ def swig_sources(self, sources, ext=None):
+
+ """Walk the list of source files in 'sources', looking for SWIG
+ interface (.i) files. Run SWIG on all that are found, and