Revision
98253
Author
ryandesign@macports.org
Date
2012-09-30 17:58:58 -0700 (Sun, 30 Sep 2012)

Log Message

qore-oracle-module: build 32-bit on Lion and up to avoid crash (#36267); rewrite master_sites to avoid redirects

Modified Paths

Diff

Modified: trunk/dports/lang/qore-oracle-module/Portfile (98252 => 98253)


--- trunk/dports/lang/qore-oracle-module/Portfile	2012-10-01 00:57:08 UTC (rev 98252)
+++ trunk/dports/lang/qore-oracle-module/Portfile	2012-10-01 00:58:58 UTC (rev 98253)
@@ -5,6 +5,7 @@
 
 name                qore-oracle-module
 version             2.1
+revision            1
 use_bzip2           yes
 categories          lang
 license             LGPL-2.1
@@ -13,7 +14,7 @@
 long_description    Module allowing communication with Oracle DBs from the Qore Programming Language
 homepage            http://qore.org
 platforms           darwin
-master_sites        sourceforge:qore
+master_sites        sourceforge:project/qore/module-oracle/${version}
 
 checksums           md5     39205c5e928b6d6e319a7f361908437d \
                     sha1    aed78f9dfd488e558a607211dbfdd2cdb298302c \
@@ -23,3 +24,8 @@
                     port:oracle-instantclient
 
 configure.args      --disable-debug
+
+if {${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
+}