summaryrefslogtreecommitdiff
path: root/lang/python23-pth/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python23-pth/Makefile')
-rw-r--r--lang/python23-pth/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/lang/python23-pth/Makefile b/lang/python23-pth/Makefile
index 83a65d7427d..35c1d892d12 100644
--- a/lang/python23-pth/Makefile
+++ b/lang/python23-pth/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2003/11/12 03:39:40 jschauma Exp $
+# $NetBSD: Makefile,v 1.10 2003/11/17 00:11:43 recht Exp $
#
DISTNAME= Python-2.3
@@ -46,6 +46,15 @@ PLIST_SUBST+= PY_PLATNAME=${LOWER_OPSYS}
PLIST_SUBST+= PY_PLATNAME=${LOWER_OPSYS}${OS_VERSION:C/\..*//}
.endif
+# the dl module isn't built for 64 bit archs and Darwin
+.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "amd64" \
+ || ${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "x86_64" \
+ || ${OPSYS} == "Darwin"
+PLIST_SUBST+= DLMODULE="@comment "
+.else
+PLIST_SUBST+= DLMODULE=
+.endif
+
.if ${OPSYS} != "NetBSD"
.include "../../databases/db/buildlink2.mk"
CPPFLAGS+= -I${BUILDLINK_PREFIX.db}/include/db2