pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/python23 Build fixes for Interix. (Oy, this file...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ed1f314c7b8f
branches:  trunk
changeset: 487844:ed1f314c7b8f
user:      tv <tv%pkgsrc.org@localhost>
date:      Fri Jan 21 02:01:37 2005 +0000

description:
Build fixes for Interix.  (Oy, this file needs a good mopping.  :)

diffstat:

 lang/python23/Makefile.common |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (32 lines):

diff -r 4423c977cffb -r ed1f314c7b8f lang/python23/Makefile.common
--- a/lang/python23/Makefile.common     Fri Jan 21 00:37:26 2005 +0000
+++ b/lang/python23/Makefile.common     Fri Jan 21 02:01:37 2005 +0000
@@ -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 @@
 # 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_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)



Home | Main Index | Thread Index | Old Index