28 lines
759 B
Makefile
28 lines
759 B
Makefile
# $NetBSD: Makefile,v 1.32 2005/09/30 14:05:38 adam Exp $
|
|
|
|
.include "Makefile.common"
|
|
|
|
PKGNAME= ${DISTNAME:S/BitT/bitt/}
|
|
|
|
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" || ${OPSYS} == "DragonFly"
|
|
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"
|
|
.include "../../mk/bsd.pkg.mk"
|