[64621] trunk/dports/graphics/gd2/Portfile
ryandesign at macports.org
ryandesign at macports.org
Wed Mar 10 22:17:23 PST 2010
Revision: 64621
http://trac.macports.org/changeset/64621
Author: ryandesign at macports.org
Date: 2010-03-10 22:17:20 -0800 (Wed, 10 Mar 2010)
Log Message:
-----------
gd2: simplify x11/no_x11 situation
Modified Paths:
--------------
trunk/dports/graphics/gd2/Portfile
Modified: trunk/dports/graphics/gd2/Portfile
===================================================================
--- trunk/dports/graphics/gd2/Portfile 2010-03-11 04:59:30 UTC (rev 64620)
+++ trunk/dports/graphics/gd2/Portfile 2010-03-11 06:17:20 UTC (rev 64621)
@@ -44,8 +44,7 @@
port:freetype \
port:fontconfig \
port:libiconv \
- port:expat \
- port:xpm
+ port:expat
archcheck.files lib/libz.dylib \
lib/libpng.dylib \
@@ -53,8 +52,7 @@
lib/libfreetype.dylib \
lib/libfontconfig.dylib \
lib/libiconv.dylib \
- lib/libexpat.dylib \
- lib/libXpm.dylib
+ lib/libexpat.dylib
patchfiles patch-gdft.c.diff
@@ -80,13 +78,13 @@
}
if {![variant_isset no_x11]} {
+ depends_lib-append port:xpm
+ archcheck.files-append lib/libXpm.dylib
configure.args-append --x-includes=${prefix}/include \
--x-libraries=${prefix}/lib
}
variant no_x11 {
- depends_lib-delete port:xpm
- archcheck.files-delete lib/libXpm.dylib
configure.args-append --without-x \
--without-xpm
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100310/4b1316f1/attachment.html>
More information about the macports-changes
mailing list