[102117] trunk/dports/databases/postgresql92/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Sun Jan 27 23:32:31 PST 2013


Revision: 102117
          https://trac.macports.org/changeset/102117
Author:   jeremyhu at macports.org
Date:     2013-01-27 23:32:31 -0800 (Sun, 27 Jan 2013)
Log Message:
-----------
postgresql92: Use compiler.blacklist

Modified Paths:
--------------
    trunk/dports/databases/postgresql92/Portfile

Modified: trunk/dports/databases/postgresql92/Portfile
===================================================================
--- trunk/dports/databases/postgresql92/Portfile	2013-01-28 07:26:30 UTC (rev 102116)
+++ trunk/dports/databases/postgresql92/Portfile	2013-01-28 07:32:31 UTC (rev 102117)
@@ -3,6 +3,7 @@
 
 PortSystem 1.0
 PortGroup select 1.0
+PortGroup compiler_blacklist_versions 1.0
 
 name			postgresql92
 version			9.2.2
@@ -57,10 +58,8 @@
 configure.cppflags-append	-I${prefix}/include/ossp
 configure.ldflags-append    -headerpad_max_install_names
 
-# building psql with clang causes segfault on query; see #31717
-if {${configure.compiler} == "clang" && [vercmp ${xcodeversion} 4.4] < 0} {
-    configure.compiler llvm-gcc-4.2
-}
+# building psql with clang from XCode prior to 4.4 causes segfault on query; see #31717
+compiler.blacklist-append {clang < 421}
 
 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/20130127/99ad9d1f/attachment.html>


More information about the macports-changes mailing list