summaryrefslogtreecommitdiff
path: root/net/bittorrent/Makefile
diff options
context:
space:
mode:
authorrecht <recht>2005-08-07 16:15:55 +0000
committerrecht <recht>2005-08-07 16:15:55 +0000
commit8281fb18c67845645f41b488db2aa957fe69af73 (patch)
tree9ee57a3ece7de2fed1bca50797bc20ab8645a2aa /net/bittorrent/Makefile
parenteb189ef4aa4e505bb62a2000773bc851593ed792 (diff)
downloadpkgsrc-8281fb18c67845645f41b488db2aa957fe69af73.tar.gz
update to BitTorrent 4.0.3
Also enable the enable_bad_libc_workaround by default for NetBSD, FreeBSD, OpenBSD and Darwin. Changes in this release: - Identify trackerless torrent files - Not saving pause/play state across invocations of the GUI - Small fixes to windows installer and corrupt config file recovery - A number of small bug fixes
Diffstat (limited to 'net/bittorrent/Makefile')
-rw-r--r--net/bittorrent/Makefile17
1 files changed, 15 insertions, 2 deletions
diff --git a/net/bittorrent/Makefile b/net/bittorrent/Makefile
index 5615727c193..09001fd5a71 100644
--- a/net/bittorrent/Makefile
+++ b/net/bittorrent/Makefile
@@ -1,15 +1,28 @@
-# $NetBSD: Makefile,v 1.29 2005/08/06 10:55:06 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2005/08/07 16:15:55 recht Exp $
#
.include "Makefile.common"
PKGNAME= ${DISTNAME:S/BitT/bitt/}
-PKGREVISION= 1
PYDISTUTILSPKG= YES
CONFLICTS+= bittornado-[0-9]*
+.include "../../mk/bsd.prefs.mk"
+
+SUBST_CLASSES+= blibc
+SUBST_STAGE.blibc= pre-configure
+SUBST_FILES.blibc= BitTorrent/defaultargs.py
+
+# Enable the 'enable_bad_libc_workaround' on BSD by default.
+.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" \
+ || ${OPSYS} == "Darwin"
+SUBST_SED.blibc= -e s/%BSD_LIBC%/1/g
+.else
+SUBST_SED.blibc= -e s/%BSD_LIBC%/0/g
+.endif
+
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../devel/py-cursespanel/buildlink3.mk"