pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang The dl module isn't built for 64 bit archs and Da...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c3fdebd0cada
branches:  trunk
changeset: 463540:c3fdebd0cada
user:      recht <recht%pkgsrc.org@localhost>
date:      Mon Nov 17 00:11:43 2003 +0000

description:
The dl module isn't built for 64 bit archs and Darwin, so exclude it in
the PLIST for these.

diffstat:

 lang/python23-pth/Makefile     |  11 ++++++++++-
 lang/python23-pth/PLIST.common |   4 ++--
 lang/python23/Makefile         |  11 ++++++++++-
 lang/python23/PLIST.common     |   4 ++--
 4 files changed, 24 insertions(+), 6 deletions(-)

diffs (86 lines):

diff -r 3d37106e5913 -r c3fdebd0cada lang/python23-pth/Makefile
--- a/lang/python23-pth/Makefile        Sun Nov 16 21:23:04 2003 +0000
+++ b/lang/python23-pth/Makefile        Mon Nov 17 00:11:43 2003 +0000
@@ -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}${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
diff -r 3d37106e5913 -r c3fdebd0cada lang/python23-pth/PLIST.common
--- a/lang/python23-pth/PLIST.common    Sun Nov 16 21:23:04 2003 +0000
+++ b/lang/python23-pth/PLIST.common    Mon Nov 17 00:11:43 2003 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.common,v 1.1 2003/08/18 20:57:14 recht Exp $
+@comment $NetBSD: PLIST.common,v 1.2 2003/11/17 00:11:43 recht Exp $
 bin/pydoc2p3
 bin/python2p3
 include/python2p3/Python.h
@@ -1133,7 +1133,7 @@
 lib/python2p3/lib-dynload/crypt.so
 lib/python2p3/lib-dynload/datetime.so
 lib/python2p3/lib-dynload/dbm.so
-lib/python2p3/lib-dynload/dl.so
+${DLMODULE}lib/python2p3/lib-dynload/dl.so
 lib/python2p3/lib-dynload/fcntl.so
 lib/python2p3/lib-dynload/grp.so
 lib/python2p3/lib-dynload/itertools.so
diff -r 3d37106e5913 -r c3fdebd0cada lang/python23/Makefile
--- a/lang/python23/Makefile    Sun Nov 16 21:23:04 2003 +0000
+++ b/lang/python23/Makefile    Mon Nov 17 00:11:43 2003 +0000
@@ -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:44 recht Exp $
 #
 
 DISTNAME=      Python-2.3
@@ -43,6 +43,15 @@
 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
diff -r 3d37106e5913 -r c3fdebd0cada lang/python23/PLIST.common
--- a/lang/python23/PLIST.common        Sun Nov 16 21:23:04 2003 +0000
+++ b/lang/python23/PLIST.common        Mon Nov 17 00:11:43 2003 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.common,v 1.1 2003/08/18 20:57:12 recht Exp $
+@comment $NetBSD: PLIST.common,v 1.2 2003/11/17 00:11:44 recht Exp $
 bin/pydoc2.3
 bin/python2.3
 include/python2.3/Python.h
@@ -1133,7 +1133,7 @@
 lib/python2.3/lib-dynload/crypt.so
 lib/python2.3/lib-dynload/datetime.so
 lib/python2.3/lib-dynload/dbm.so
-lib/python2.3/lib-dynload/dl.so
+${DLMODULE}lib/python2.3/lib-dynload/dl.so
 lib/python2.3/lib-dynload/fcntl.so
 lib/python2.3/lib-dynload/grp.so
 lib/python2.3/lib-dynload/itertools.so



Home | Main Index | Thread Index | Old Index