[47537] trunk/dports/devel/inventor/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Sat Feb 28 16:02:19 PST 2009
Revision: 47537
http://trac.macports.org/changeset/47537
Author: jeremyhu at macports.org
Date: 2009-02-28 16:02:19 -0800 (Sat, 28 Feb 2009)
Log Message:
-----------
inventor: Fix linking against MacPorts X11 libs
Modified Paths:
--------------
trunk/dports/devel/inventor/Portfile
Modified: trunk/dports/devel/inventor/Portfile
===================================================================
--- trunk/dports/devel/inventor/Portfile 2009-02-28 23:55:38 UTC (rev 47536)
+++ trunk/dports/devel/inventor/Portfile 2009-03-01 00:02:19 UTC (rev 47537)
@@ -4,7 +4,7 @@
name inventor
version 2.1.5-10
-revision 5
+revision 6
categories devel graphics x11
platforms darwin
maintainers css
@@ -61,6 +61,11 @@
post-patch {
reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/make/ivcommondefs
+ if { [file exists ${prefix}/lib/pkgconfig/x11.pc] } {
+ reinplace "s|/usr/X11R6|${prefix}|" ${worksrcpath}/make/ivcommondefs
+ } else {
+ reinplace "s|/usr/X11R6|${x11prefix}|" ${worksrcpath}/make/ivcommondefs
+ }
}
universal_variant no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090228/4e92dcb3/attachment.html>
More information about the macports-changes
mailing list