[32518] trunk/dports/devel/dbus-python25/Portfile

afb at macports.org afb at macports.org
Sun Jan 6 02:29:01 PST 2008


Revision: 32518
          http://trac.macosforge.org/projects/macports/changeset/32518
Author:   afb at macports.org
Date:     2008-01-06 02:28:58 -0800 (Sun, 06 Jan 2008)

Log Message:
-----------
leopard workaround for missing symbols (#12966, #13792)

Modified Paths:
--------------
    trunk/dports/devel/dbus-python25/Portfile

Modified: trunk/dports/devel/dbus-python25/Portfile
===================================================================
--- trunk/dports/devel/dbus-python25/Portfile	2008-01-06 08:44:37 UTC (rev 32517)
+++ trunk/dports/devel/dbus-python25/Portfile	2008-01-06 10:28:58 UTC (rev 32518)
@@ -2,7 +2,7 @@
 PortSystem 1.0
 name		dbus-python25
 version		0.82.2
-revision		0
+revision		1
 description	Python bindings for the dbus message bus system.
 long_description	${description}
 maintainers	nomaintainer
@@ -28,5 +28,15 @@
 depends_build	\
 	port:pkgconfig
 
+configure.python	${prefix}/bin/python2.5
 configure.args	--mandir=${prefix}/share/man
-configure.env	PYTHON=${prefix}/bin/python2.5
+
+platform darwin 9 {
+	post-patch {
+		reinplace  "s| -export-symbols-regex.*| \\\\|g" ${worksrcpath}/_dbus_bindings/Makefile.am
+		reinplace  "s| -export-symbols-regex.*| \\\\|g" ${worksrcpath}/_dbus_bindings/Makefile.in
+		reinplace  "s| -export-symbols-regex.*| \\\\|g" ${worksrcpath}/_dbus_glib_bindings/Makefile.am
+		reinplace  "s| -export-symbols-regex.*| \\\\|g" ${worksrcpath}/_dbus_glib_bindings/Makefile.in
+	}
+}
+

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080106/b79e0fb6/attachment.html


More information about the macports-changes mailing list