diff options
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 |