[40886] trunk/dports/lang/python26/Portfile

blb at macports.org blb at macports.org
Thu Oct 16 23:41:02 PDT 2008


Revision: 40886
          http://trac.macports.org/changeset/40886
Author:   blb at macports.org
Date:     2008-10-16 23:41:01 -0700 (Thu, 16 Oct 2008)
Log Message:
-----------
Fix library and framework install discrepancy; ticket #16111, for 2.5
(patch 4 from #16765)

Modified Paths:
--------------
    trunk/dports/lang/python26/Portfile

Modified: trunk/dports/lang/python26/Portfile
===================================================================
--- trunk/dports/lang/python26/Portfile	2008-10-17 06:38:48 UTC (rev 40885)
+++ trunk/dports/lang/python26/Portfile	2008-10-17 06:41:01 UTC (rev 40886)
@@ -36,8 +36,7 @@
    set frameworks_dir ${prefix}/Library/Frameworks
 }
 
-patchfiles              patch-Makefile.pre.in.diff \
-                        patch-setup.py.diff \
+patchfiles              patch-setup.py.diff \
                         patch-Lib-cgi.py.diff \
                         patch-Mac-IDLE-Makefile.in.diff \
                         patch-Mac-Makefile.in.diff \
@@ -65,7 +64,7 @@
       ${worksrcpath}/Mac/PythonLauncher/Makefile.in
 }
 
-build.target            all libpython${branch}.dylib
+build.target            all
 
 test.run                yes
 test.target             test
@@ -81,8 +80,7 @@
       ln -s ${prefix}/${dir}/python${branch} ${destroot}${framewdir}/${dir}/python${branch}
    }
 
-   file rename ${destroot}${framewdir}/lib/libpython${branch}.dylib ${destroot}${prefix}/lib
-   ln -s ${prefix}/lib/libpython${branch}.dylib ${destroot}${framewdir}/lib/libpython${branch}.dylib
+   ln -s ${framewdir}/Python ${destroot}${prefix}/lib/libpython${branch}.dylib
 
    file rename ${destroot}${prefix}/share/man/man1/python.1 ${destroot}${prefix}/share/man/man1/python${branch}.1
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081016/d55f65b6/attachment.html 


More information about the macports-changes mailing list