[125623] trunk/dports/databases

ryandesign at macports.org ryandesign at macports.org
Tue Sep 23 00:27:40 PDT 2014


Revision: 125623
          https://trac.macports.org/changeset/125623
Author:   ryandesign at macports.org
Date:     2014-09-23 00:27:40 -0700 (Tue, 23 Sep 2014)
Log Message:
-----------
postgresql84, postgresql90, postgresql91, postgresql92, postgresql93: fix build on Yosemite (#44164)

Modified Paths:
--------------
    trunk/dports/databases/postgresql84/Portfile
    trunk/dports/databases/postgresql90/Portfile
    trunk/dports/databases/postgresql91/Portfile
    trunk/dports/databases/postgresql92/Portfile
    trunk/dports/databases/postgresql93/Portfile

Modified: trunk/dports/databases/postgresql84/Portfile
===================================================================
--- trunk/dports/databases/postgresql84/Portfile	2014-09-23 07:25:34 UTC (rev 125622)
+++ trunk/dports/databases/postgresql84/Portfile	2014-09-23 07:27:40 UTC (rev 125623)
@@ -74,16 +74,15 @@
 
 livecheck.type	none
 
-platform darwin 12 {
-    patchfiles-append   postgresql-uuid-ossp.patch
+platform darwin {
+    if {${os.major} >= 12} {
+        patchfiles-append   postgresql-uuid-ossp.patch
+    }
+    if {${os.major} >= 13} {
+        configure.args-replace  --with-bonjour --without-bonjour
+    }
 }
 
-platform darwin 13 {
-    patchfiles-append   postgresql-uuid-ossp.patch
-    configure.args-delete   --with-bonjour
-    configure.args-append   --without-bonjour
-}
-
 # prepare the contrib modules
 set contribs {}
 

Modified: trunk/dports/databases/postgresql90/Portfile
===================================================================
--- trunk/dports/databases/postgresql90/Portfile	2014-09-23 07:25:34 UTC (rev 125622)
+++ trunk/dports/databases/postgresql90/Portfile	2014-09-23 07:27:40 UTC (rev 125623)
@@ -80,14 +80,12 @@
 livecheck.url	${homepage}
 livecheck.regex	(9\\.0\\.\[.0-9\]+)
 
-platform darwin 12 {
-    patchfiles-append   postgresql-uuid-ossp.patch
+platform darwin {
+    if {${os.major} >= 12} {
+        patchfiles-append   postgresql-uuid-ossp.patch
+    }
 }
 
-platform darwin 13 {
-    patchfiles-append   postgresql-uuid-ossp.patch
-}
-
 # prepare the contrib modules
 set contribs {}
 

Modified: trunk/dports/databases/postgresql91/Portfile
===================================================================
--- trunk/dports/databases/postgresql91/Portfile	2014-09-23 07:25:34 UTC (rev 125622)
+++ trunk/dports/databases/postgresql91/Portfile	2014-09-23 07:27:40 UTC (rev 125623)
@@ -80,14 +80,12 @@
 livecheck.url	${homepage}
 livecheck.regex	(9\\.1\\.\[.0-9\]+)
 
-platform darwin 12 {
-    patchfiles-append   postgresql-uuid-ossp.patch
+platform darwin {
+    if {${os.major} >= 12} {
+        patchfiles-append   postgresql-uuid-ossp.patch
+    }
 }
 
-platform darwin 13 {
-    patchfiles-append   postgresql-uuid-ossp.patch
-}
-
 # prepare the contrib modules
 set contribs {}
 

Modified: trunk/dports/databases/postgresql92/Portfile
===================================================================
--- trunk/dports/databases/postgresql92/Portfile	2014-09-23 07:25:34 UTC (rev 125622)
+++ trunk/dports/databases/postgresql92/Portfile	2014-09-23 07:27:40 UTC (rev 125623)
@@ -84,15 +84,12 @@
 #livecheck.url	${homepage}/ftp/source/
 #livecheck.regex	(9\\.2\[.0-9\]+\[a-z\]+\[0-9\])
 
-platform darwin 12 {
-    patchfiles-append   postgresql-uuid-ossp.patch
+platform darwin {
+    if {${os.major} >= 12} {
+        patchfiles-append   postgresql-uuid-ossp.patch
+    }
 }
 
-platform darwin 13 {
-    patchfiles-append   postgresql-uuid-ossp.patch
-}
-
-
 # prepare the contrib modules
 set contribs {}
                             

Modified: trunk/dports/databases/postgresql93/Portfile
===================================================================
--- trunk/dports/databases/postgresql93/Portfile	2014-09-23 07:25:34 UTC (rev 125622)
+++ trunk/dports/databases/postgresql93/Portfile	2014-09-23 07:27:40 UTC (rev 125623)
@@ -84,18 +84,12 @@
 livecheck.url	${homepage}/ftp/source/
 #livecheck.regex	(9\\.3\[.0-9\]+\[a-z\]+\[0-9\])
 
-platform darwin 12 {
-    patchfiles-append   postgresql-uuid-ossp.patch
+platform darwin {
+    if {${os.major} >= 12} {
+        patchfiles-append   postgresql-uuid-ossp.patch
+    }
 }
 
-platform darwin 13 {
-    patchfiles-append   postgresql-uuid-ossp.patch
-}
-
-platform darwin 14 {
-    patchfiles-append   postgresql-uuid-ossp.patch
-}
-
 # prepare the contrib modules
 set contribs {}
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140923/756bf800/attachment.html>


More information about the macports-changes mailing list