[84897] trunk/dports/devel/lua-glut

ryandesign at macports.org ryandesign at macports.org
Tue Oct 4 00:39:52 PDT 2011


Revision: 84897
          http://trac.macports.org/changeset/84897
Author:   ryandesign at macports.org
Date:     2011-10-04 00:39:52 -0700 (Tue, 04 Oct 2011)
Log Message:
-----------
lua-glut: avoid using the string /opt/local in the Portfile and patchfile

Modified Paths:
--------------
    trunk/dports/devel/lua-glut/Portfile
    trunk/dports/devel/lua-glut/files/patch-Makefile

Modified: trunk/dports/devel/lua-glut/Portfile
===================================================================
--- trunk/dports/devel/lua-glut/Portfile	2011-10-04 07:38:13 UTC (rev 84896)
+++ trunk/dports/devel/lua-glut/Portfile	2011-10-04 07:39:52 UTC (rev 84897)
@@ -31,7 +31,7 @@
 build.target		
 
 post-patch {
-	reinplace "s|/opt/local|${prefix}|g" ${worksrcpath}/Makefile
+	reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/Makefile
 }
 
 destroot {

Modified: trunk/dports/devel/lua-glut/files/patch-Makefile
===================================================================
--- trunk/dports/devel/lua-glut/files/patch-Makefile	2011-10-04 07:38:13 UTC (rev 84896)
+++ trunk/dports/devel/lua-glut/files/patch-Makefile	2011-10-04 07:39:52 UTC (rev 84897)
@@ -5,7 +5,7 @@
  MEMARRAY = memarray.so
  
 -CC = gcc -Wall $(CFLAGS)
-+CC = gcc -Wall $(CFLAGS) -I/opt/local/include
++CC = gcc -Wall $(CFLAGS) -I at PREFIX@/include
  GCC_OPT_SHARED = -shared
 -LDSO = gcc $(LFLAGS) $(GCC_OPT_SHARED)
 +LDSO = MACOSX_DEPLOYMENT_TARGET="10.3" gcc $(LFLAGS) $(GCC_OPT_SHARED)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111004/86c9c748/attachment.html>


More information about the macports-changes mailing list