[53234] trunk/dports/devel/liboil
toby at macports.org
toby at macports.org
Wed Jul 1 12:42:44 PDT 2009
Revision: 53234
http://trac.macports.org/changeset/53234
Author: toby at macports.org
Date: 2009-07-01 12:42:43 -0700 (Wed, 01 Jul 2009)
Log Message:
-----------
#20125 (liboil @0.3.16 (devel) + Mac OS 10.6 10A394)
Modified Paths:
--------------
trunk/dports/devel/liboil/Portfile
Added Paths:
-----------
trunk/dports/devel/liboil/files/host_cpu.diff
Modified: trunk/dports/devel/liboil/Portfile
===================================================================
--- trunk/dports/devel/liboil/Portfile 2009-07-01 19:28:11 UTC (rev 53233)
+++ trunk/dports/devel/liboil/Portfile 2009-07-01 19:42:43 UTC (rev 53234)
@@ -30,3 +30,11 @@
livecheck.check regex
livecheck.url [lindex ${master_sites} 0]?C=M&O=D
livecheck.regex ${name}-(\\d(?:\\.\\d+)*)
+
+platform darwin 10 {
+ # NB: won't work for universal building, but this port doesn't support it yet
+ patchfiles-append host_cpu.diff
+ post-patch {
+ reinplace "s|__HOST_CPU__|${build_arch}|" ${worksrcpath}/configure
+ }
+}
Added: trunk/dports/devel/liboil/files/host_cpu.diff
===================================================================
--- trunk/dports/devel/liboil/files/host_cpu.diff (rev 0)
+++ trunk/dports/devel/liboil/files/host_cpu.diff 2009-07-01 19:42:43 UTC (rev 53234)
@@ -0,0 +1,11 @@
+--- configure.orig 2009-07-01 12:38:34.000000000 -0700
++++ configure 2009-07-01 12:38:40.000000000 -0700
+@@ -2130,7 +2130,7 @@
+ ac_save_IFS=$IFS; IFS='-'
+ set x $ac_cv_host
+ shift
+-host_cpu=$1
++host_cpu=__HOST_CPU__
+ host_vendor=$2
+ shift; shift
+ # Remember, the first character of IFS is used to create $*,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090701/696092ff/attachment.html>
More information about the macports-changes
mailing list