[83840] trunk/dports/emulators/spim

jeremyhu at macports.org jeremyhu at macports.org
Sun Sep 11 10:24:07 PDT 2011


Revision: 83840
          http://trac.macports.org/changeset/83840
Author:   jeremyhu at macports.org
Date:     2011-09-11 10:24:07 -0700 (Sun, 11 Sep 2011)
Log Message:
-----------
spim: Discover symbols on Lion ... still has ugly imake build failures though

Modified Paths:
--------------
    trunk/dports/emulators/spim/Portfile

Added Paths:
-----------
    trunk/dports/emulators/spim/files/patch-Lion.diff

Modified: trunk/dports/emulators/spim/Portfile
===================================================================
--- trunk/dports/emulators/spim/Portfile	2011-09-11 16:17:21 UTC (rev 83839)
+++ trunk/dports/emulators/spim/Portfile	2011-09-11 17:24:07 UTC (rev 83840)
@@ -34,7 +34,7 @@
 
 worksrcdir      ${name}-${version}
 
-patchfiles      patch-spim_Makefile.diff patch-xspim_Imakefile.diff
+patchfiles      patch-spim_Makefile.diff patch-xspim_Imakefile.diff patch-Lion.diff 
 
 configure {
 	system "cd ${worksrcpath}/spim && ./Configure"

Added: trunk/dports/emulators/spim/files/patch-Lion.diff
===================================================================
--- trunk/dports/emulators/spim/files/patch-Lion.diff	                        (rev 0)
+++ trunk/dports/emulators/spim/files/patch-Lion.diff	2011-09-11 17:24:07 UTC (rev 83840)
@@ -0,0 +1,46 @@
+--- spim/Configure.orig	2011-09-11 10:18:41.000000000 -0700
++++ spim/Configure	2011-09-11 10:18:55.000000000 -0700
+@@ -78,6 +78,12 @@ else if [ -f /usr/lib/libc.so ]; then
+   echo Scaning libc
+   nm /usr/lib/libc.so > library_contents
+   set flag = -q
++else if [ -d /usr/lib/system ]; then
++  # Mac OS X Universe:
++  echo Looks like a Mac OS X / OpenStep universe exists...
++  echo Scanning /usr/lib/system
++  nm /usr/lib/system/*.dylib > library_contents
++  set flag = -q
+ else if [ -f /usr/lib/libc.dylib ]; then
+   # Mac OS X Universe:
+   echo Looks like a Mac OS X / OpenStep universe exists...
+@@ -88,6 +94,7 @@ fi;
+ fi;
+ fi;
+ fi;
++fi;
+ 
+ 
+ echo
+--- xspim/Configure.orig	2011-09-11 10:18:41.000000000 -0700
++++ xspim/Configure	2011-09-11 10:19:06.000000000 -0700
+@@ -78,6 +78,12 @@ else if [ -f /usr/lib/libc.so ]; then
+   echo Scaning libc
+   nm /usr/lib/libc.so > library_contents
+   set flag = -q
++else if [ -d /usr/lib/system ]; then
++  # Mac OS X Universe:
++  echo Looks like a Mac OS X / OpenStep universe exists...
++  echo Scanning /usr/lib/system
++  nm /usr/lib/system/*.dylib > library_contents
++  set flag = -q
+ else if [ -f /usr/lib/libc.dylib ]; then
+   # Mac OS X Universe:
+   echo Looks like a Mac OS X / OpenStep universe exists...
+@@ -88,6 +94,7 @@ fi;
+ fi;
+ fi;
+ fi;
++fi;
+ 
+ 
+ echo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110911/38e6c8fa/attachment.html>


More information about the macports-changes mailing list