summaryrefslogtreecommitdiff
path: root/lang/python23
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-01-21 02:01:37 +0000
committertv <tv@pkgsrc.org>2005-01-21 02:01:37 +0000
commit894f83d117b02570c38309302bbfd34e16004954 (patch)
tree05be6b54d21248cab33d41adbab7868b69297676 /lang/python23
parent84fa090ce890c50f8836a5ce41eb40d76f8ea367 (diff)
downloadpkgsrc-894f83d117b02570c38309302bbfd34e16004954.tar.gz
Build fixes for Interix. (Oy, this file needs a good mopping. :)
Diffstat (limited to 'lang/python23')
-rw-r--r--lang/python23/Makefile.common10
1 files changed, 8 insertions, 2 deletions
diff --git a/lang/python23/Makefile.common b/lang/python23/Makefile.common
index c1c979ea9bf..a0535beaf8e 100644
--- a/lang/python23/Makefile.common
+++ b/lang/python23/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.22 2004/12/19 05:34:07 grant Exp $
+# $NetBSD: Makefile.common,v 1.23 2005/01/21 02:01:37 tv Exp $
#
DISTNAME= Python-2.3.4
@@ -42,7 +42,8 @@ PLIST_SUBST+= PY_PLATNAME=${PY_PLATNAME}
# 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" || ( ${OPSYS} == "IRIX" && ${ABI} == "64" )
+ || ${OPSYS} == "Darwin" || ( ${OPSYS} == "IRIX" && ${ABI} == "64" ) \
+ || ${OPSYS} == "Interix"
PLIST_SUBST+= DLMODULE="@comment "
.else
PLIST_SUBST+= DLMODULE=
@@ -86,7 +87,12 @@ MAKE_ENV+= PY_BDB_INCDIRS=${BDBBASE}/${BUILDLINK_INCDIRS.${BDB_TYPE}}
MAKE_ENV+= PY_BDB_LIBDIRS=${BDBBASE}/lib
PLIST_SUBST+= BSDDBMODULE=
PLIST_SUBST+= NOSHLIB=
+. if ${OPSYS} == "Interix"
+PLIST_SUBST+= NISMODULE="@comment "
+CONFIGURE_ENV+= ac_cv_header_stropts_h=no
+. else
PLIST_SUBST+= NISMODULE=
+. endif
.endif
.if defined(BUILDLINK_TRANSFORM)