aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/gtk30/Makefile
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2006-10-25 21:19:26 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2006-10-25 21:19:26 +0000
commit64b79a16a2315175b76ca25929f894e9e96cf985 (patch)
treef1190df99267cf36611ce34c7e4c6caf86101939 /x11-toolkits/gtk30/Makefile
parentc0ccd234daa8239e24124f1fcaf3b2389fbec981 (diff)
Fix gtkprint with users that have cups-base installed, but who are
using lpr instead of CUPS for printing. With this fix, CUPS users should be able to print to file, CUPS printers, and BSD lpr printers. Non-CUPS users should be able to print to file and BSD lpr printers. Approved by: portmgr (implicit)
Notes
Notes: svn path=/head/; revision=175524
Diffstat (limited to 'x11-toolkits/gtk30/Makefile')
-rw-r--r--x11-toolkits/gtk30/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11-toolkits/gtk30/Makefile b/x11-toolkits/gtk30/Makefile
index 5a1783c426e3..937047d3b0f9 100644
--- a/x11-toolkits/gtk30/Makefile
+++ b/x11-toolkits/gtk30/Makefile
@@ -8,7 +8,7 @@
PORTNAME= gtk
PORTVERSION= 2.10.6
-PORTREVISION?= 1
+PORTREVISION?= 2
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}/,} \
ftp://ftp.gtk.org/pub/gtk/v2.10/ \
@@ -117,6 +117,8 @@ post-patch:
s|@LDFLAGS@|& ${PTHREAD_LIBS}|' \
${WRKSRC}/demos/gtk-demo/Makefile.in
@${REINPLACE_CMD} -e 's|@LN_S@|${LN} -sf|' ${WRKSRC}/gtk/Makefile.in
+ @${REINPLACE_CMD} -e 's|file,cups|file,cups,lpr|' \
+ ${WRKSRC}/gtk/Makefile.in
pre-build:
@${RM} -rf ${WRKSRC}/docs/gtk.info*