Changeset 15412 for trunk/dports
- Timestamp:
- Dec 11, 2005, 1:07:05 AM (18 years ago)
- Location:
- trunk/dports/lang/python24
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/lang/python24/Portfile
r14076 r15412 1 # $Id: Portfile,v 1.2 3 2005/09/13 18:06:43 gwrightExp $1 # $Id: Portfile,v 1.24 2005/12/11 01:07:05 mww Exp $ 2 2 3 3 PortSystem 1.0 4 4 5 5 name python24 6 version 2.4. 16 version 2.4.2 7 7 set major_version 2 8 8 set minor_version 4 9 revision 610 9 categories lang 11 10 platforms darwin … … 16 15 17 16 homepage http://www.python.org/ 18 master_sites ${homepage}/ftp/python/2.4. 1/ \19 ftp://ftp.python.org/pub/python/2.4. 1/17 master_sites ${homepage}/ftp/python/2.4.2/ \ 18 ftp://ftp.python.org/pub/python/2.4.2/ 20 19 distname Python-${version} 21 checksums md5 de3e9a8836fab6df7c7ce545331afeb320 checksums md5 98db1465629693fc434d4dc52db93838 22 21 patchfiles patch-Makefile.pre.in \ 23 22 patch-configure \ … … 75 74 ln -s libpython${version}.dylib libpython.dylib" 76 75 } 76 77 platform darwin 8 { 78 configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0 79 configure.args-append --with-cxx=/usr/bin/g++-4.0 80 } 81 -
trunk/dports/lang/python24/files/patch-Makefile.pre.in
r11587 r15412 14 14 $(LDSHARED) -o $@ $(LIBRARY_OBJS) $(LIBC) $(LIBM) 15 15 16 +libpython.2.4. 1.dylib: $(LIBRARY_OBJS)17 + $(LINKCC) -dynamiclib -install_name $(LIBDIR)/$@ -current_version 2.4. 1-compatibility_version 2.4 -o $@ -flat_namespace -undefined suppress $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM)16 +libpython.2.4.2.dylib: $(LIBRARY_OBJS) 17 + $(LINKCC) -dynamiclib -install_name $(LIBDIR)/$@ -current_version 2.4.2 -compatibility_version 2.4 -o $@ -flat_namespace -undefined suppress $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM) 18 18 + 19 19 + … … 27 27 - else true; \ 28 28 + else \ 29 + if test -f libpython.2.4. 1.dylib; then \30 + $(INSTALL_SHARED) libpython.2.4. 1.dylib $(DESTDIR)$(LIBDIR)/libpython.2.4.1.dylib; \29 + if test -f libpython.2.4.2.dylib; then \ 30 + $(INSTALL_SHARED) libpython.2.4.2.dylib $(DESTDIR)$(LIBDIR)/libpython.2.4.2.dylib; \ 31 31 + else \ 32 32 + true; \ -
trunk/dports/lang/python24/files/patch-configure
r11587 r15412 1 --- configure Tue Mar 29 01:23:02 20052 +++ ../../configure Thu Mar 31 10:32:45 20053 @@ -382 6,7 +3826,12 @@1 --- work/Python-2.4.2/configure 2005-08-07 23:08:42.000000000 +0200 2 +++ configure 2005-12-11 01:27:37.000000000 +0100 3 @@ -3828,7 +3828,12 @@ 4 4 ;; 5 5 # is there any other compiler on Darwin besides gcc? … … 15 15 esac 16 16 ;; 17 @@ -1036 2,8 +10367,8 @@17 @@ -10364,8 +10369,8 @@ 18 18 LDSHARED="$LDSHARED "'$(PYTHONFRAMEWORKPREFIX)/$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)' 19 19 else
Note: See TracChangeset
for help on using the changeset viewer.