diff options
author | Marcus Alves Grando <mnag@FreeBSD.org> | 2006-04-29 17:47:41 +0000 |
---|---|---|
committer | Marcus Alves Grando <mnag@FreeBSD.org> | 2006-04-29 17:47:41 +0000 |
commit | 541e4d5affbeffc2b6295c7f555a6b20c23115b1 (patch) | |
tree | 4f88731dba6769f52cbfa18d609a13b3db8e18bc /net-p2p | |
parent | - Tell TclTutor where its lesson_files.lsn are located (diff) |
- Add extra patch to fix slow running in 4.x
- Fix wrong test of PYXML in OPTIONS
- Bump PORTREVISION
PR: 95152
Notified by: Sven Berkvens-Matthijsse <sven___berkvens.net>
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=160815
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/btqueue/Makefile | 8 | ||||
-rw-r--r-- | net-p2p/btqueue/files/FBSD4-patch-BitTorrent_defaultargs.py | 14 |
2 files changed, 21 insertions, 1 deletions
diff --git a/net-p2p/btqueue/Makefile b/net-p2p/btqueue/Makefile index a1f0156951fc..f0dc026f922a 100644 --- a/net-p2p/btqueue/Makefile +++ b/net-p2p/btqueue/Makefile @@ -7,6 +7,7 @@ PORTNAME= btqueue PORTVERSION= 0.1.0 +PORTREVISION= 1 CATEGORIES= net-p2p MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -28,7 +29,12 @@ OPTIONS= PYXML "Add dependency on PyXML (needed for crawler only)" on .include <bsd.port.pre.mk> -.if defined(WITH_PYXML) +# Enable workaround for bad libc in FreeBSD 4.x +.if ${OSVERSION} < 500000 +EXTRA_PATCHES= ${FILESDIR}/FBSD4-patch-BitTorrent_defaultargs.py +.endif + +.if !defined(WITHOUT_PYXML) RUN_DEPENDS+= ${PYXML} .endif diff --git a/net-p2p/btqueue/files/FBSD4-patch-BitTorrent_defaultargs.py b/net-p2p/btqueue/files/FBSD4-patch-BitTorrent_defaultargs.py new file mode 100644 index 000000000000..2c781458d3c4 --- /dev/null +++ b/net-p2p/btqueue/files/FBSD4-patch-BitTorrent_defaultargs.py @@ -0,0 +1,14 @@ +--- BitTorrent/defaultargs.py.orig Mon Apr 3 14:57:11 2006 ++++ BitTorrent/defaultargs.py Mon Apr 3 15:11:49 2006 +@@ -29,10 +29,7 @@ + + import os + ### add your favorite here +-BAD_LIBC_WORKAROUND_DEFAULT = MYFALSE +-if os.name == 'posix': +- if os.uname()[0] in ['Darwin']: +- BAD_LIBC_WORKAROUND_DEFAULT = MYTRUE ++BAD_LIBC_WORKAROUND_DEFAULT = MYTRUE + + MIN_INCOMPLETE = 100 + if os.name == 'nt': |