From 5c48ee75e7f35609c098569e3c90a4b0ea8b974c Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Thu, 3 Apr 2014 18:03:32 +0000 Subject: [PATCH] - Stage support - Fix build with new cups - NLS is not optional, doesn't build if disabled Reported by: pkg-fallout With hat: portmgr MFH: 2014Q2 --- print/gtklp/Makefile | 19 +++---------------- print/gtklp/pkg-plist | 2 ++ 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/print/gtklp/Makefile b/print/gtklp/Makefile index 8b2f573a90d2..95e5eaad3cef 100644 --- a/print/gtklp/Makefile +++ b/print/gtklp/Makefile @@ -11,29 +11,16 @@ MASTER_SITES= SF MAINTAINER= sylvio@FreeBSD.org COMMENT= GTK interface to cups -LIB_DEPENDS= cups.2:${PORTSDIR}/print/cups-client +LIB_DEPENDS= libcups.so:${PORTSDIR}/print/cups-client WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -USES= pkgconfig +USES= gettext pkgconfig USE_GNOME= gtk20 USE_OPENSSL= yes USE_AUTOTOOLS= automake:env GNU_CONFIGURE= yes -CPPFLAGS+= -I${LOCALBASE}/include +CPPFLAGS+= -I${LOCALBASE}/include -D_IPP_PRIVATE_STRUCTURES LDFLAGS+= -L${LOCALBASE}/lib -MAN1= gtklp.1 gtklpq.1 - -NO_STAGE= yes - -OPTIONS_DEFINE= NLS - -.include - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.endif - .include diff --git a/print/gtklp/pkg-plist b/print/gtklp/pkg-plist index 8b7a8671db16..bc29be523982 100644 --- a/print/gtklp/pkg-plist +++ b/print/gtklp/pkg-plist @@ -1,5 +1,7 @@ bin/gtklp bin/gtklpq +man/man1/gtklp.1.gz +man/man1/gtklpq.1.gz share/locale/ca/LC_MESSAGES/gtklp.mo share/locale/ca_ES/LC_MESSAGES/gtklp.mo share/locale/chs/LC_MESSAGES/gtklp.mo