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:
parent
241b685c14
commit
541e4d5aff
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=160815
@ -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
|
||||
|
||||
|
14
net-p2p/btqueue/files/FBSD4-patch-BitTorrent_defaultargs.py
Normal file
14
net-p2p/btqueue/files/FBSD4-patch-BitTorrent_defaultargs.py
Normal 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':
|
Loading…
Reference in New Issue
Block a user