[45822] trunk/dports/x11/Xaw3d/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Thu Jan 22 14:44:13 PST 2009
Revision: 45822
http://trac.macports.org/changeset/45822
Author: jeremyhu at macports.org
Date: 2009-01-22 14:44:13 -0800 (Thu, 22 Jan 2009)
Log Message:
-----------
Xaw3d: Fix linking against libs in prefix instead of x11prefix
Modified Paths:
--------------
trunk/dports/x11/Xaw3d/Portfile
Modified: trunk/dports/x11/Xaw3d/Portfile
===================================================================
--- trunk/dports/x11/Xaw3d/Portfile 2009-01-22 22:12:15 UTC (rev 45821)
+++ trunk/dports/x11/Xaw3d/Portfile 2009-01-22 22:44:13 UTC (rev 45822)
@@ -4,7 +4,7 @@
name Xaw3d
version 1.5E
-revision 2
+revision 3
categories x11
maintainers nomaintainer
@@ -60,11 +60,14 @@
# This uses xmkmf to build and doesn't make a universal lib
universal_variant no
+if {[file exists ${prefix}/lib/pkgconfig/x11.pc]} {
+ build.target-append INCROOT=${prefix}/include
+}
+
# The Imakefile default is to install everything into /usr/X11R6/lib,
# which prevents multiple MacPorts installs on the same system. Have
# it install the entire package into ${prefix} instead.
-build.target-append SHLIBGLOBALSFLAGS=-L${x11prefix}/lib \
- INCDIR=${prefix}/include \
+build.target-append INCDIR=${prefix}/include \
SHLIBDIR=${prefix}/lib \
USRLIBDIR=${prefix}/lib
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090122/7811a2d6/attachment.html>
More information about the macports-changes
mailing list