2005-09-30 16:05:38 +02:00
|
|
|
# $NetBSD: Makefile,v 1.32 2005/09/30 14:05:38 adam Exp $
|
2003-05-09 20:07:01 +02:00
|
|
|
|
2004-03-03 11:02:08 +01:00
|
|
|
.include "Makefile.common"
|
2003-05-09 20:07:01 +02:00
|
|
|
|
2004-03-03 11:02:08 +01:00
|
|
|
PKGNAME= ${DISTNAME:S/BitT/bitt/}
|
2003-05-09 20:07:01 +02:00
|
|
|
|
2005-09-30 16:05:38 +02:00
|
|
|
PYDISTUTILSPKG= yes
|
2003-05-09 20:07:01 +02:00
|
|
|
|
2005-08-06 12:55:06 +02:00
|
|
|
CONFLICTS+= bittornado-[0-9]*
|
|
|
|
|
2005-08-07 18:15:55 +02:00
|
|
|
.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" \
|
2005-08-07 18:43:15 +02:00
|
|
|
|| ${OPSYS} == "Darwin" || ${OPSYS} == "DragonFly"
|
2005-08-07 18:15:55 +02:00
|
|
|
SUBST_SED.blibc= -e s/%BSD_LIBC%/1/g
|
|
|
|
.else
|
|
|
|
SUBST_SED.blibc= -e s/%BSD_LIBC%/0/g
|
|
|
|
.endif
|
|
|
|
|
2004-03-17 20:27:42 +01:00
|
|
|
.include "../../lang/python/application.mk"
|
2003-05-13 03:25:24 +02:00
|
|
|
.include "../../lang/python/extension.mk"
|
2004-04-27 05:43:53 +02:00
|
|
|
.include "../../devel/py-cursespanel/buildlink3.mk"
|
2003-05-09 20:07:01 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|