1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- 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
This commit is contained in:
Marcus Alves Grando 2006-04-29 17:47:41 +00:00
parent 241b685c14
commit 541e4d5aff
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=160815
2 changed files with 21 additions and 1 deletions

View File

@ -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

View File

@ -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':