Modified: trunk/dports/databases/soci-devel/Portfile (98253 => 98254)
--- trunk/dports/databases/soci-devel/Portfile 2012-10-01 00:58:58 UTC (rev 98253)
+++ trunk/dports/databases/soci-devel/Portfile 2012-10-01 01:03:17 UTC (rev 98254)
@@ -6,7 +6,7 @@
name soci-devel
version 20110925
-revision 1
+revision 2
license Boost-1
categories databases devel
platforms darwin
@@ -69,6 +69,10 @@
configure.args-delete -DWITH_ORACLE=OFF
configure.env-append ORACLE_HOME=${prefix}/lib/oracle
}
+if {[variant_isset oracle] && ${os.platform} == "darwin" && ${os.major} > 10} {
+ # oracle-instantclient 10.2.0.4.0 crashes in 64-bit mode on Lion and up.
+ supported_archs i386
+}
variant postgresql84 conflicts postgresql90 \
description {Build PostgreSQL 8.4 backend, using MacPorts postgresql84 port} {