diff options
author | perky <perky@FreeBSD.org> | 2004-12-20 00:52:19 +0800 |
---|---|---|
committer | perky <perky@FreeBSD.org> | 2004-12-20 00:52:19 +0800 |
commit | fa31fd5e2858deb3ff50a88dafa341d10f5c3587 (patch) | |
tree | 4798fa8b3f2e9dd5cdb882b471ab2953eb440692 /net | |
parent | b81f4648bd7b091f923d1cd4e0b693872c710fec (diff) | |
download | freebsd-ports-gnome-fa31fd5e2858deb3ff50a88dafa341d10f5c3587.tar.gz freebsd-ports-gnome-fa31fd5e2858deb3ff50a88dafa341d10f5c3587.tar.zst freebsd-ports-gnome-fa31fd5e2858deb3ff50a88dafa341d10f5c3587.zip |
Fix build and unmark BROKEN.
Spotted by: the Ports Janitor
Diffstat (limited to 'net')
-rw-r--r-- | net/py-pcap/Makefile | 4 | ||||
-rw-r--r-- | net/py-pcap/files/patch-setup.py | 11 |
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 |