[71345] trunk/dports/x11/glxinfo/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Thu Sep 9 12:23:53 PDT 2010
Revision: 71345
http://trac.macports.org/changeset/71345
Author: jeremyhu at macports.org
Date: 2010-09-09 12:23:52 -0700 (Thu, 09 Sep 2010)
Log Message:
-----------
glxinfo: Fix possible build failure
Modified Paths:
--------------
trunk/dports/x11/glxinfo/Portfile
Modified: trunk/dports/x11/glxinfo/Portfile
===================================================================
--- trunk/dports/x11/glxinfo/Portfile 2010-09-09 19:23:32 UTC (rev 71344)
+++ trunk/dports/x11/glxinfo/Portfile 2010-09-09 19:23:52 UTC (rev 71345)
@@ -42,12 +42,12 @@
}
build {
- system "${configure.cc} ${configure.cppflags} ${configure.cflags} ${extra_cflags} -c ${worksrcpath}/src/xdemos/${name}.c"
- system "${configure.cc} ${configure.ldflags} ${extra_ldflags} ${name}.o -lGL -lX11 -o ${name}"
+ system "cd ${worksrcpath} && ${configure.cc} ${configure.cppflags} ${configure.cflags} ${extra_cflags} -c ${worksrcpath}/src/xdemos/${name}.c"
+ system "cd ${worksrcpath} && ${configure.cc} ${configure.ldflags} ${extra_ldflags} ${name}.o -lGL -lX11 -o ${name}"
}
destroot {
- xinstall -m 755 ${name} "${destroot}${prefix}/bin"
+ xinstall -m 755 "${worksrcpath}/${name}" "${destroot}${prefix}/bin"
}
use_parallel_build yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100909/47990e7d/attachment.html>
More information about the macports-changes
mailing list