[131287] trunk/dports/x11

jeremyhu at macports.org jeremyhu at macports.org
Thu Jan 8 12:42:02 PST 2015


Revision: 131287
          https://trac.macports.org/changeset/131287
Author:   jeremyhu at macports.org
Date:     2015-01-08 12:42:02 -0800 (Thu, 08 Jan 2015)
Log Message:
-----------
xorg-server*: Fix Leopard build

Modified Paths:
--------------
    trunk/dports/x11/xorg-server/Portfile
    trunk/dports/x11/xorg-server-devel/Portfile

Modified: trunk/dports/x11/xorg-server/Portfile
===================================================================
--- trunk/dports/x11/xorg-server/Portfile	2015-01-08 20:24:32 UTC (rev 131286)
+++ trunk/dports/x11/xorg-server/Portfile	2015-01-08 20:42:02 UTC (rev 131287)
@@ -111,8 +111,8 @@
 }
 
 platform macosx {
-	if { ![file exists /usr/include/Xplugin.h] } {
-		# Xplugin.h is missing on Tiger
+	if { ${os.major} < 10 } {
+		# Xplugin.h is missing on Tiger and incorrect on Leopard
 		configure.cppflags-append -I${filespath}/include
 	}
 }

Modified: trunk/dports/x11/xorg-server-devel/Portfile
===================================================================
--- trunk/dports/x11/xorg-server-devel/Portfile	2015-01-08 20:24:32 UTC (rev 131286)
+++ trunk/dports/x11/xorg-server-devel/Portfile	2015-01-08 20:42:02 UTC (rev 131287)
@@ -105,8 +105,8 @@
 }
 
 platform macosx {
-	if { ![file exists /usr/include/Xplugin.h] } {
-		# Xplugin.h is missing on Tiger
+	if { ${os.major} < 10 } {
+		# Xplugin.h is missing on Tiger and incorrect on Leopard
 		configure.cppflags-append -I${filespath}/include
 	}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150108/bca9f1c3/attachment.html>


More information about the macports-changes mailing list