[94594] trunk/dports/sysutils/rpm/Portfile

afb at macports.org afb at macports.org
Sun Jun 24 01:24:04 PDT 2012


Revision: 94594
          https://trac.macports.org/changeset/94594
Author:   afb at macports.org
Date:     2012-06-24 01:24:03 -0700 (Sun, 24 Jun 2012)
Log Message:
-----------
rpm: work around python25 bug (#34403, #17998)

Modified Paths:
--------------
    trunk/dports/sysutils/rpm/Portfile

Modified: trunk/dports/sysutils/rpm/Portfile
===================================================================
--- trunk/dports/sysutils/rpm/Portfile	2012-06-24 07:52:27 UTC (rev 94593)
+++ trunk/dports/sysutils/rpm/Portfile	2012-06-24 08:24:03 UTC (rev 94594)
@@ -93,7 +93,8 @@
 			      --with-glob --enable-broken-chown \
 			      --disable-rpath
 
-	configure.cppflags-append -I${prefix}/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5
+	configure.cppflags-append -I${prefix}${frameworks_dir}/Python.framework/Versions/2.5/include/python2.5
+	pre-activate { move ${destroot}${prefix}/lib/python2.5/site-packages/rpm ${destroot}${frameworks_dir}/Python.framework/Versions/2.5/lib/python2.5/site-packages/rpm }
 
 	post-destroot {
 		# Mac OS X specific changes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120624/151ea74c/attachment-0001.html>


More information about the macports-changes mailing list