[102153] trunk/dports/databases
jeremyhu at macports.org
jeremyhu at macports.org
Mon Jan 28 10:26:11 PST 2013
Revision: 102153
https://trac.macports.org/changeset/102153
Author: jeremyhu at macports.org
Date: 2013-01-28 10:26:11 -0800 (Mon, 28 Jan 2013)
Log Message:
-----------
postgresql9[012]: Use compiler_blacklist_versions and make blacklisting consistent (#31717)
Modified Paths:
--------------
trunk/dports/databases/postgresql90/Portfile
trunk/dports/databases/postgresql91/Portfile
trunk/dports/databases/postgresql92/Portfile
Modified: trunk/dports/databases/postgresql90/Portfile
===================================================================
--- trunk/dports/databases/postgresql90/Portfile 2013-01-28 18:07:22 UTC (rev 102152)
+++ trunk/dports/databases/postgresql90/Portfile 2013-01-28 18:26:11 UTC (rev 102153)
@@ -3,6 +3,7 @@
PortSystem 1.0
PortGroup select 1.0
+PortGroup compiler_blacklist_versions 1.0
name postgresql90
version 9.0.11
@@ -56,11 +57,8 @@
--with-ossp-uuid
configure.cppflags-append -I${prefix}/include/ossp
-# building psql with clang causes segfault on query; see #31717
-compiler.blacklist macports-clang-2.9 macports-clang-3.0
-if {[vercmp ${xcodeversion} 4.4] < 0} {
- compiler.blacklist-append clang
-}
+# building psql with clang from XCode prior to 4.4 causes segfault on query; see #31717
+compiler.blacklist-append {clang < 421} macports-clang-2.9 macports-clang-3.0
if {[variant_isset universal]} {
configure.cflags-append -DAC_APPLE_UNIVERSAL_BUILD
Modified: trunk/dports/databases/postgresql91/Portfile
===================================================================
--- trunk/dports/databases/postgresql91/Portfile 2013-01-28 18:07:22 UTC (rev 102152)
+++ trunk/dports/databases/postgresql91/Portfile 2013-01-28 18:26:11 UTC (rev 102153)
@@ -3,6 +3,7 @@
PortSystem 1.0
PortGroup select 1.0
+PortGroup compiler_blacklist_versions 1.0
name postgresql91
version 9.1.7
@@ -56,11 +57,8 @@
--with-ossp-uuid
configure.cppflags-append -I${prefix}/include/ossp
-# building psql with clang causes segfault on query; see #31717
-compiler.blacklist macports-clang-2.9 macports-clang-3.0
-if {[vercmp ${xcodeversion} 4.4] < 0} {
- compiler.blacklist-append clang
-}
+# building psql with clang from XCode prior to 4.4 causes segfault on query; see #31717
+compiler.blacklist-append {clang < 421} macports-clang-2.9 macports-clang-3.0
if {[variant_isset universal]} {
configure.cflags-append -DAC_APPLE_UNIVERSAL_BUILD
Modified: trunk/dports/databases/postgresql92/Portfile
===================================================================
--- trunk/dports/databases/postgresql92/Portfile 2013-01-28 18:07:22 UTC (rev 102152)
+++ trunk/dports/databases/postgresql92/Portfile 2013-01-28 18:26:11 UTC (rev 102153)
@@ -59,7 +59,7 @@
configure.ldflags-append -headerpad_max_install_names
# building psql with clang from XCode prior to 4.4 causes segfault on query; see #31717
-compiler.blacklist-append {clang < 421}
+compiler.blacklist-append {clang < 421} macports-clang-2.9 macports-clang-3.0
if {[variant_isset universal]} {
configure.cflags-append -DAC_APPLE_UNIVERSAL_BUILD
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130128/b85c1953/attachment.html>
More information about the macports-changes
mailing list