[43695] trunk/dports/x11/xauth/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Sat Dec 13 15:52:53 PST 2008


Revision: 43695
          http://trac.macports.org/changeset/43695
Author:   jeremyhu at macports.org
Date:     2008-12-13 15:52:53 -0800 (Sat, 13 Dec 2008)
Log Message:
-----------
xauth: compilation fix for Tiger's X11

Modified Paths:
--------------
    trunk/dports/x11/xauth/Portfile

Modified: trunk/dports/x11/xauth/Portfile
===================================================================
--- trunk/dports/x11/xauth/Portfile	2008-12-13 23:52:01 UTC (rev 43694)
+++ trunk/dports/x11/xauth/Portfile	2008-12-13 23:52:53 UTC (rev 43695)
@@ -27,3 +27,11 @@
 depends_lib \
 	lib:libXext.6:xorg-libXext \
 	lib:libXmuu.1:xorg-libXmu
+
+variant macosx {
+	if {${os.major} < 9 && ![file exists ${prefix}/lib/pkgconfig/xmuu.pc]} {
+		configure.env-append \
+			XAUTH_CFLAGS="-I${x11prefix}/include" \
+			XAUTH_LIBS="-L${x11prefix}/lib -lXmuu -lXext -lX11 -lXau"
+	}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081213/774cec9a/attachment-0001.html>


More information about the macports-changes mailing list