From 1990c2fb1ef521d46a6fa759d009832abd3ca221 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Mon, 10 Apr 2017 15:49:25 +0000 Subject: - Switch to USES=localbase - Remove obsolete OSVERSION condition Approved by: portmgr blanket --- x11-clocks/cairo-clock/Makefile | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'x11-clocks/cairo-clock') diff --git a/x11-clocks/cairo-clock/Makefile b/x11-clocks/cairo-clock/Makefile index c130824e15b2..793226eab0b2 100644 --- a/x11-clocks/cairo-clock/Makefile +++ b/x11-clocks/cairo-clock/Makefile @@ -11,24 +11,17 @@ MAINTAINER= daichi@FreeBSD.org COMMENT= MacSlow's Cairo-Clock USE_GNOME= gtk20 intlhack libglade2 librsvg2 -USES= pathfix iconv gmake pkgconfig gettext +USES= pathfix iconv gmake localbase:ldflags pkgconfig gettext GNU_CONFIGURE= yes USE_LDCONFIG= yes -.include - -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib - post-patch: @${GZIP_CMD} -d ${WRKSRC}/man/cairo-clock.1.gz @${REINPLACE_CMD} -e 's,.gz,,; s,datadir)\/man,prefix)\/man,' \ ${WRKSRC}/man/Makefile.in post-configure: -.if ${OSVERSION} > 1000000 || ${CC:Mclang} != "" @${REINPLACE_CMD} -e 's,--export-dynamic,-export-dynamic,' \ ${WRKSRC}/src/Makefile -.endif .include -- cgit v1.2.3