Skip to content
Permalink
Browse files

Submitted by: blb@

Reviewed by:    mww@

update to 2.4.2

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@15412 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Markus W. Weißmann
Markus W. Weißmann committed Dec 11, 2005
1 parent 677b767 commit 05861491699462efdd1c0504a0e1c8d05233abcb
Showing with 19 additions and 14 deletions.
  1. +11 −6 lang/python24/Portfile
  2. +4 −4 lang/python24/files/patch-Makefile.pre.in
  3. +4 −4 lang/python24/files/patch-configure
@@ -1,12 +1,11 @@
# $Id: Portfile,v 1.23 2005/09/13 18:06:43 gwright Exp $
# $Id: Portfile,v 1.24 2005/12/11 01:07:05 mww Exp $

PortSystem 1.0

name python24
version 2.4.1
version 2.4.2
set major_version 2
set minor_version 4
revision 6
categories lang
platforms darwin
maintainers mww@opendarwin.org
@@ -15,10 +14,10 @@ long_description Python is an interpreted, interactive, object-oriented \
programming language.

homepage http://www.python.org/
master_sites ${homepage}/ftp/python/2.4.1/ \
ftp://ftp.python.org/pub/python/2.4.1/
master_sites ${homepage}/ftp/python/2.4.2/ \
ftp://ftp.python.org/pub/python/2.4.2/
distname Python-${version}
checksums md5 de3e9a8836fab6df7c7ce545331afeb3
checksums md5 98db1465629693fc434d4dc52db93838
patchfiles patch-Makefile.pre.in \
patch-configure \
patch-Lib-site.py \
@@ -74,3 +73,9 @@ post-destroot {
ln -s libpython${version}.dylib libpython${major_version}.dylib && \
ln -s libpython${version}.dylib libpython.dylib"
}

platform darwin 8 {
configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
configure.args-append --with-cxx=/usr/bin/g++-4.0
}

@@ -13,8 +13,8 @@
libpython$(VERSION).sl: $(LIBRARY_OBJS)
$(LDSHARED) -o $@ $(LIBRARY_OBJS) $(LIBC) $(LIBM)

+libpython.2.4.1.dylib: $(LIBRARY_OBJS)
+ $(LINKCC) -dynamiclib -install_name $(LIBDIR)/$@ -current_version 2.4.1 -compatibility_version 2.4 -o $@ -flat_namespace -undefined suppress $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM)
+libpython.2.4.2.dylib: $(LIBRARY_OBJS)
+ $(LINKCC) -dynamiclib -install_name $(LIBDIR)/$@ -current_version 2.4.2 -compatibility_version 2.4 -o $@ -flat_namespace -undefined suppress $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM)
+
+
# This rule is here for OPENSTEP/Rhapsody/MacOSX. It builds a temporary
@@ -26,8 +26,8 @@
fi; \
- else true; \
+ else \
+ if test -f libpython.2.4.1.dylib; then \
+ $(INSTALL_SHARED) libpython.2.4.1.dylib $(DESTDIR)$(LIBDIR)/libpython.2.4.1.dylib; \
+ if test -f libpython.2.4.2.dylib; then \
+ $(INSTALL_SHARED) libpython.2.4.2.dylib $(DESTDIR)$(LIBDIR)/libpython.2.4.2.dylib; \
+ else \
+ true; \
+ fi \
@@ -1,6 +1,6 @@
--- configure Tue Mar 29 01:23:02 2005
+++ ../../configure Thu Mar 31 10:32:45 2005
@@ -3826,7 +3826,12 @@
--- work/Python-2.4.2/configure 2005-08-07 23:08:42.000000000 +0200
+++ configure 2005-12-11 01:27:37.000000000 +0100
@@ -3828,7 +3828,12 @@
;;
# is there any other compiler on Darwin besides gcc?
Darwin*)
@@ -14,7 +14,7 @@
;;
esac
;;
@@ -10362,8 +10367,8 @@
@@ -10364,8 +10369,8 @@
LDSHARED="$LDSHARED "'$(PYTHONFRAMEWORKPREFIX)/$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
else
# No framework, use the Python app as bundle-loader

0 comments on commit 0586149

Please sign in to comment.
You can’t perform that action at this time.