[55121] trunk/dports/audio/ices2/Portfile

snc at macports.org snc at macports.org
Thu Aug 6 18:18:27 PDT 2009


Revision: 55121
          http://trac.macports.org/changeset/55121
Author:   snc at macports.org
Date:     2009-08-06 18:18:24 -0700 (Thu, 06 Aug 2009)
Log Message:
-----------
remove hardcoding of /opt/local

Modified Paths:
--------------
    trunk/dports/audio/ices2/Portfile

Modified: trunk/dports/audio/ices2/Portfile
===================================================================
--- trunk/dports/audio/ices2/Portfile	2009-08-07 01:10:47 UTC (rev 55120)
+++ trunk/dports/audio/ices2/Portfile	2009-08-07 01:18:24 UTC (rev 55121)
@@ -21,6 +21,6 @@
 depends_lib      lib:libshout:libshout2 port:libxml2
 
 post-configure {
-	reinplace "s|VORBIS_CFLAGS = -I/opt/local/include|VORBIS_CFLAGS = -I/opt/local/include -D_MACOSX_ |g" ${worksrcpath}/Makefile
+	reinplace "s|VORBIS_CFLAGS = -I${prefix}/include|VORBIS_CFLAGS = -I${prefix}/include -D_MACOSX_ |g" ${worksrcpath}/Makefile
 	reinplace "s|#include <unistd.h>|#include <sys/select.h>\\\n#include <unistd.h>|g" ${worksrcpath}/src/metadata.c
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090806/9a074e6e/attachment-0001.html>


More information about the macports-changes mailing list