[45423] trunk/dports/devel/libsdl/Portfile
devans at macports.org
devans at macports.org
Thu Jan 15 12:27:38 PST 2009
Revision: 45423
http://trac.macports.org/changeset/45423
Author: devans at macports.org
Date: 2009-01-15 12:27:37 -0800 (Thu, 15 Jan 2009)
Log Message:
-----------
libsdl: add +no_x11 variant to remove X11 dependencies in a non-X11 build environment, increment revision as files will change if +no_x11 global variant is set.
Modified Paths:
--------------
trunk/dports/devel/libsdl/Portfile
Modified: trunk/dports/devel/libsdl/Portfile
===================================================================
--- trunk/dports/devel/libsdl/Portfile 2009-01-15 20:01:08 UTC (rev 45422)
+++ trunk/dports/devel/libsdl/Portfile 2009-01-15 20:27:37 UTC (rev 45423)
@@ -5,7 +5,7 @@
name libsdl
set my_name SDL
version 1.2.13
-revision 3
+revision 4
categories devel multimedia
platforms macosx freebsd
maintainers nox openmaintainer
@@ -35,6 +35,14 @@
--mandir=${prefix}/share/man \
--disable-nasm
+variant no_x11 {
+ configure.args-append --without-x
+ depends_lib-delete \
+ lib:libXext.6:xorg-libXext \
+ lib:libXrandr.2:xorg-libXrandr \
+ lib:libXrender.1:xrender
+}
+
use_parallel_build yes
set docdir ${prefix}/share/doc/${name}-${version}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090115/cd678374/attachment.html>
More information about the macports-changes
mailing list