[46271] trunk/dports/audio/easytag-devel/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Sun Feb 1 14:39:57 PST 2009
Revision: 46271
http://trac.macports.org/changeset/46271
Author: jeremyhu at macports.org
Date: 2009-02-01 14:39:57 -0800 (Sun, 01 Feb 2009)
Log Message:
-----------
easytag-devel: Only include and link with x11prefix if we don't have MacPorts provided X11 libs
Modified Paths:
--------------
trunk/dports/audio/easytag-devel/Portfile
Modified: trunk/dports/audio/easytag-devel/Portfile
===================================================================
--- trunk/dports/audio/easytag-devel/Portfile 2009-02-01 22:38:01 UTC (rev 46270)
+++ trunk/dports/audio/easytag-devel/Portfile 2009-02-01 22:39:57 UTC (rev 46271)
@@ -31,8 +31,10 @@
depends_build port:hicolor-icon-theme
-configure.ldflags-append -L${x11prefix}/lib
-configure.cppflags-append -I${x11prefix}/include
+if { ![file exists ${prefix}/lib/pkgconfig/x11.pc] } {
+ configure.cppflags-append -I${x11prefix}/include
+ configure.ldflags-append -L${x11prefix}/lib
+}
configure.args --mandir=${prefix}/share/man \
--infodir=${prefix}/share/info \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090201/008f35cf/attachment.html>
More information about the macports-changes
mailing list