diff options
Diffstat (limited to 'net/bittorrent/Makefile')
-rw-r--r-- | net/bittorrent/Makefile | 17 |
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" |