diff options
author | recht <recht@pkgsrc.org> | 2003-08-18 20:57:11 +0000 |
---|---|---|
committer | recht <recht@pkgsrc.org> | 2003-08-18 20:57:11 +0000 |
commit | a666fc8bebbaafb824fb89a93dbc570c81f2f5a1 (patch) | |
tree | 9d5995035374e70033e35e200deaba00c575d548 /lang/python23-pth/Makefile | |
parent | f958dadcb5ff5abe736a8d85faca60b64059dd32 (diff) | |
download | pkgsrc-a666fc8bebbaafb824fb89a93dbc570c81f2f5a1.tar.gz |
Split the PLIST into common and os dependent parts. Start with NetBSD
and Linux. Disable the curses module on Linux.
Diffstat (limited to 'lang/python23-pth/Makefile')
-rw-r--r-- | lang/python23-pth/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/lang/python23-pth/Makefile b/lang/python23-pth/Makefile index 9c89a972eb7..6635e251fbb 100644 --- a/lang/python23-pth/Makefile +++ b/lang/python23-pth/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2003/08/18 17:16:54 recht Exp $ +# $NetBSD: Makefile,v 1.4 2003/08/18 20:57:13 recht Exp $ # DISTNAME= Python-2.3 @@ -34,6 +34,16 @@ post-install: .include "../../mk/bsd.prefs.mk" +.if ${OPSYS} == "SunOS" +LOWER_OPSYS= sunos +.endif + +.if ${OPSYS} == "Darwin" || ${OPSYS} == "IRIX" +PLIST_SUBST+= PY_PLATNAME=${LOWER_OPSYS} +.else +PLIST_SUBST+= PY_PLATNAME=${LOWER_OPSYS}${OS_VERSION:C/\..*//} +.endif + .if ${OPSYS} != "NetBSD" .include "../../databases/db/buildlink2.mk" CPPFLAGS+= -I${BUILDLINK_PREFIX.db}/include/db2 |