From 04816c87c9229381d898552c06a3cc28042fe382 Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 25 Oct 2006 21:19:26 +0000 Subject: 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) --- x11-toolkits/gtk20/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'x11-toolkits/gtk20') diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile index 5a1783c426e3..937047d3b0f9 100644 --- a/x11-toolkits/gtk20/Makefile +++ b/x11-toolkits/gtk20/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* -- cgit