[58546] trunk/dports/ruby/rb-opengl/Portfile
blb at macports.org
blb at macports.org
Wed Sep 30 12:32:27 PDT 2009
Revision: 58546
http://trac.macports.org/changeset/58546
Author: blb at macports.org
Date: 2009-09-30 12:32:26 -0700 (Wed, 30 Sep 2009)
Log Message:
-----------
ruby/rb-opengl - make sure to specify paths to files to be reinplaced
Modified Paths:
--------------
trunk/dports/ruby/rb-opengl/Portfile
Modified: trunk/dports/ruby/rb-opengl/Portfile
===================================================================
--- trunk/dports/ruby/rb-opengl/Portfile 2009-09-30 17:53:50 UTC (rev 58545)
+++ trunk/dports/ruby/rb-opengl/Portfile 2009-09-30 19:32:26 UTC (rev 58546)
@@ -25,13 +25,13 @@
reinplace "s|^CFLAGS.*\$|& \
-I/System/Library/Frameworks/OpenGL.framework/Headers \
-I/System/Library/Frameworks/GLUT.framework/Headers|" \
- Makefile.glut Makefile.ogl
+ ${worksrcpath}/Makefile.glut ${worksrcpath}/Makefile.ogl
reinplace "s|^DLDFLAGS.*\$|& \
-L\$(prefix)/lib \
-L/System/Library/Frameworks/OpenGL.framework/Libraries|" \
- Makefile.glut Makefile.ogl
+ ${worksrcpath}/Makefile.glut ${worksrcpath}/Makefile.ogl
reinplace "s|^LIBS.*\$|& \
-lGLU -framework GLUT -lGL -framework OpenGL|" \
- Makefile.glut Makefile.ogl
+ ${worksrcpath}/Makefile.glut ${worksrcpath}/Makefile.ogl
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090930/269a792c/attachment.html>
More information about the macports-changes
mailing list