blob: 38ad5a7fb61142335d977b4610766a9142ccd36d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# $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"
|