aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2007-09-29 15:24:45 +0800
committerdinoex <dinoex@FreeBSD.org>2007-09-29 15:24:45 +0800
commitfbc83330aa45014313b3be0b0419d41e32d03fd6 (patch)
tree2340edea50711dfc0ab0e2664b234d290a17528a
parent3b34216876308b9342433d0d40cb253b3f8c0465 (diff)
downloadfreebsd-ports-gnome-fbc83330aa45014313b3be0b0419d41e32d03fd6.tar.gz
freebsd-ports-gnome-fbc83330aa45014313b3be0b0419d41e32d03fd6.tar.zst
freebsd-ports-gnome-fbc83330aa45014313b3be0b0419d41e32d03fd6.zip
- fix build when an obsolete version of cups is installed
PR: 116721 Submitted by: Christoph Moench-Tegeder
-rw-r--r--print/cups-base/Makefile1
-rw-r--r--print/cups-base/files/patch-Makedefs.in14
2 files changed, 15 insertions, 0 deletions
diff --git a/print/cups-base/Makefile b/print/cups-base/Makefile
index d09bbaa4b730..1a2a1e590c1e 100644
--- a/print/cups-base/Makefile
+++ b/print/cups-base/Makefile
@@ -7,6 +7,7 @@
PORTNAME= cups
PORTVERSION= 1.3.0
+PORTREVISION= 1
DISTVERSIONSUFFIX= -source
CATEGORIES= print
MASTER_SITES= EASYSW/${PORTNAME}/${DISTVERSION}
diff --git a/print/cups-base/files/patch-Makedefs.in b/print/cups-base/files/patch-Makedefs.in
new file mode 100644
index 000000000000..7bd6f66f03e5
--- /dev/null
+++ b/print/cups-base/files/patch-Makedefs.in
@@ -0,0 +1,14 @@
+--- Makedefs.in.orig Fri Sep 28 21:13:27 2007
++++ Makedefs.in Fri Sep 28 21:13:48 2007
+@@ -108,8 +108,8 @@
+ # for extra debug info)
+ #
+
+-ALL_CFLAGS = $(SSLFLAGS) @LARGEFILE@ @PTHREAD_FLAGS@ \
+- $(OPTIONS) $(CFLAGS)
++ALL_CFLAGS = $(CFLAGS) $(SSLFLAGS) @LARGEFILE@ @PTHREAD_FLAGS@ \
++ $(OPTIONS)
+ ARCHFLAGS = @ARCHFLAGS@
+ ARFLAGS = @ARFLAGS@
+ BACKLIBS = @BACKLIBS@
+