pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/python26 Fix build problems under Mac OS X report...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5b45536c5a96
branches:  trunk
changeset: 570177:5b45536c5a96
user:      tron <tron%pkgsrc.org@localhost>
date:      Tue Jan 26 12:15:26 2010 +0000

description:
Fix build problems under Mac OS X reported by Taylor R Campbell
on the "pkgsrc-users" mailing list:
1.) Fix 64-Bit ABI check for Snow Leopard so it doesn't break the build
    on older version of Mac OS X.
2.) Properly disable the "pyexpat" module and remove it from the
    package list.

Bump package revision because of these changes.

diffstat:

 lang/python26/Makefile         |  6 +++---
 lang/python26/PLIST.common     |  3 +--
 lang/python26/distinfo         |  4 ++--
 lang/python26/patches/patch-am |  4 ++--
 4 files changed, 8 insertions(+), 9 deletions(-)

diffs (76 lines):

diff -r a10758725533 -r 5b45536c5a96 lang/python26/Makefile
--- a/lang/python26/Makefile    Tue Jan 26 12:13:42 2010 +0000
+++ b/lang/python26/Makefile    Tue Jan 26 12:15:26 2010 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.18 2010/01/21 16:28:51 heinz Exp $
+# $NetBSD: Makefile,v 1.19 2010/01/26 12:15:26 tron Exp $
 
 DISTNAME=      Python-2.6.4
 PKGNAME=       ${DISTNAME:S/Python/python26/}
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    lang python
 MASTER_SITES=  http://www.python.org/ftp/python/2.6.4/
 EXTRACT_SUFX=  .tar.bz2
@@ -110,7 +110,7 @@
 INSTALL_UNSTRIPPED=    yes
 
 PLIST_VARS+=   nav
-.  if ${ABI} != "64"
+.  if !defined(ABI) || ${ABI} != "64"
 PLIST.nav=     yes
 .  endif
 .endif
diff -r a10758725533 -r 5b45536c5a96 lang/python26/PLIST.common
--- a/lang/python26/PLIST.common        Tue Jan 26 12:13:42 2010 +0000
+++ b/lang/python26/PLIST.common        Tue Jan 26 12:15:26 2010 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.common,v 1.7 2009/11/03 02:20:54 wiz Exp $
+@comment $NetBSD: PLIST.common,v 1.8 2010/01/26 12:15:26 tron Exp $
 bin/2to3
 bin/pydoc${PY_VER_SUFFIX}
 bin/python${PY_VER_SUFFIX}
@@ -1729,7 +1729,6 @@
 lib/python${PY_VER_SUFFIX}/lib-dynload/operator.so
 ${PLIST.oss}lib/python${PY_VER_SUFFIX}/lib-dynload/ossaudiodev.so
 lib/python${PY_VER_SUFFIX}/lib-dynload/parser.so
-lib/python${PY_VER_SUFFIX}/lib-dynload/pyexpat.so
 lib/python${PY_VER_SUFFIX}/lib-dynload/resource.so
 lib/python${PY_VER_SUFFIX}/lib-dynload/select.so
 lib/python${PY_VER_SUFFIX}/lib-dynload/strop.so
diff -r a10758725533 -r 5b45536c5a96 lang/python26/distinfo
--- a/lang/python26/distinfo    Tue Jan 26 12:13:42 2010 +0000
+++ b/lang/python26/distinfo    Tue Jan 26 12:15:26 2010 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.17 2009/11/16 21:12:05 jakllsch Exp $
+$NetBSD: distinfo,v 1.18 2010/01/26 12:15:26 tron Exp $
 
 SHA1 (Python-2.6.4.tar.bz2) = bee572680d1966501247cb2b26e0e51f94d1cd13
 RMD160 (Python-2.6.4.tar.bz2) = fd33853842110fa3636dd296f2f27646fd2b151a
@@ -10,7 +10,7 @@
 SHA1 (patch-ae) = 5425515c6bf130eee204ca2749386f6447eaa35b
 SHA1 (patch-ah) = 98e9fa55c2af38d8032398cae693492c199dc5fa
 SHA1 (patch-al) = c39144cfa4a540900fac879b5faa990628fcee3e
-SHA1 (patch-am) = d531f1ddb7a7bac9c56d9b947f8a0a2666c9c017
+SHA1 (patch-am) = 952cadccc4cef28da7f297f35a5073dcce38033b
 SHA1 (patch-an) = 17b4e17b3b562c29a050e9bb20447084ce82b8ab
 SHA1 (patch-ao) = 9bbd5561c010e0a1ab8e0a70d27a5f77fd2089d2
 SHA1 (patch-ap) = 39d81b01fa9e1b894be9ae0922881337bb4d17da
diff -r a10758725533 -r 5b45536c5a96 lang/python26/patches/patch-am
--- a/lang/python26/patches/patch-am    Tue Jan 26 12:13:42 2010 +0000
+++ b/lang/python26/patches/patch-am    Tue Jan 26 12:15:26 2010 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-am,v 1.7 2009/11/16 10:40:21 joerg Exp $
+$NetBSD: patch-am,v 1.8 2010/01/26 12:15:26 tron Exp $
 
 Disabled modules for normal build:
 bsdddb
@@ -19,7 +19,7 @@
  
  # This global variable is used to hold the list of modules to be disabled.
 -disabled_module_list = []
-+disabled_module_list = ["_bsddb", "_curses", "_curses_panel", "_elementtree", "_sqlite3", "_tkinter", "gdbm", "expat", "readline"]
++disabled_module_list = ["_bsddb", "_curses", "_curses_panel", "_elementtree", "_sqlite3", "_tkinter", "gdbm", "pyexpat", "readline"]
  
  def add_dir_to_list(dirlist, dir):
      """Add the directory 'dir' to the list 'dirlist' (at the front) if



Home | Main Index | Thread Index | Old Index