blob: 77be0e08a35d993e22d8fd79f934548d219b0799 (
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
29
30
|
# $NetBSD: Makefile,v 1.34 2006/02/05 23:10:22 joerg Exp $
.include "Makefile.common"
PKGNAME= ${DISTNAME:S/BitT/bitt/}
PKGREVISION= 1
PYDISTUTILSPKG= yes
CONFLICTS+= bittornado-[0-9]*
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"
|