[92951] trunk/dports/databases/postgresql90/Portfile
vince at macports.org
vince at macports.org
Fri May 11 11:33:30 PDT 2012
Revision: 92951
https://trac.macports.org/changeset/92951
Author: vince at macports.org
Date: 2012-05-11 11:33:30 -0700 (Fri, 11 May 2012)
Log Message:
-----------
Port to PostGreSQL 9.0 of r92935 closing ticket #33907.
Revision Links:
--------------
https://trac.macports.org/changeset/92935
Modified Paths:
--------------
trunk/dports/databases/postgresql90/Portfile
Modified: trunk/dports/databases/postgresql90/Portfile
===================================================================
--- trunk/dports/databases/postgresql90/Portfile 2012-05-11 18:28:50 UTC (rev 92950)
+++ trunk/dports/databases/postgresql90/Portfile 2012-05-11 18:33:30 UTC (rev 92951)
@@ -6,7 +6,7 @@
name postgresql90
version 9.0.7
-revision 1
+revision 2
categories databases
platforms darwin
@@ -101,6 +101,15 @@
system "cd ${destroot}${prefix}/bin && ln -sf ${libdir}/bin/psql psql90"
file delete -force ${destroot}${prefix}/share/doc/postgresql \
${destroot}${prefix}/share/man
+
+ reinplace -E "s#-arch\[\[:space:\]\]+\[\[:alnum:\]_\]+##g" \
+ ${destroot}${prefix}/lib/postgresql90/pgxs/src/Makefile.global
+
+ reinplace -E "s#^CFLAGS =#CFLAGS +=#g" \
+ ${destroot}${prefix}/lib/postgresql90/pgxs/src/Makefile.global
+
+ reinplace -E "s#^(\[\[:space:\]\]+)LDFLAGS =#\\1LDFLAGS +=#g" \
+ ${destroot}${prefix}/lib/postgresql90/pgxs/src/Makefile.global
}
select.group postgresql
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120511/e878d6e6/attachment-0001.html>
More information about the macports-changes
mailing list