[148513] trunk/dports/gnome/gtk3
jeremyhu at macports.org
jeremyhu at macports.org
Tue May 10 22:10:43 PDT 2016
Revision: 148513
https://trac.macports.org/changeset/148513
Author: jeremyhu at macports.org
Date: 2016-05-10 22:10:43 -0700 (Tue, 10 May 2016)
Log Message:
-----------
gtk3: Fix build failure due to bad check for cups
Modified Paths:
--------------
trunk/dports/gnome/gtk3/Portfile
Added Paths:
-----------
trunk/dports/gnome/gtk3/files/cups.patch
Modified: trunk/dports/gnome/gtk3/Portfile
===================================================================
--- trunk/dports/gnome/gtk3/Portfile 2016-05-11 04:27:53 UTC (rev 148512)
+++ trunk/dports/gnome/gtk3/Portfile 2016-05-11 05:10:43 UTC (rev 148513)
@@ -55,7 +55,7 @@
lib/libpango-1.0.dylib \
lib/libtiff.dylib
-patchfiles nawk.patch
+patchfiles nawk.patch cups.patch
# gtk3 +quartz uses instancetype which is not available
# before approximately Xcode 4.6 (#49391)
Added: trunk/dports/gnome/gtk3/files/cups.patch
===================================================================
--- trunk/dports/gnome/gtk3/files/cups.patch (rev 0)
+++ trunk/dports/gnome/gtk3/files/cups.patch 2016-05-11 05:10:43 UTC (rev 148513)
@@ -0,0 +1,12 @@
+--- configure.orig 2016-05-10 20:25:04.000000000 -0700
++++ configure 2016-05-10 20:25:37.000000000 -0700
+@@ -25784,7 +25784,7 @@ fi
+ CUPS_API_MAJOR=`echo $ECHO_N $CUPS_API_VERSION | awk -F. '{print $1}'`
+ CUPS_API_MINOR=`echo $ECHO_N $CUPS_API_VERSION | awk -F. '{print $2}'`
+
+- if test $CUPS_API_MAJOR -gt 1 -o \
++ if test $CUPS_API_MAJOR -lt 1 -o \
+ $CUPS_API_MAJOR -eq 1 -a $CUPS_API_MINOR -lt 2; then
+ as_fn_error $? "CUPS >= 1.2 not found" "$LINENO" 5
+ fi
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160510/453ae283/attachment.html>
More information about the macports-changes
mailing list