aboutsummaryrefslogtreecommitdiff
path: root/x11-clocks/cairo-clock
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-04-10 15:49:25 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-04-10 15:49:25 +0000
commit1990c2fb1ef521d46a6fa759d009832abd3ca221 (patch)
tree6d346031fc952c04cb2b51e6e09f39d40b8cf06f /x11-clocks/cairo-clock
parent0bc97bbfdc6d92fa6ae65ddaf30eeb0787a5bc21 (diff)
downloadports-1990c2fb1ef521d46a6fa759d009832abd3ca221.tar.gz
ports-1990c2fb1ef521d46a6fa759d009832abd3ca221.zip
- Switch to USES=localbase
- Remove obsolete OSVERSION condition Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=438182
Diffstat (limited to 'x11-clocks/cairo-clock')
-rw-r--r--x11-clocks/cairo-clock/Makefile9
1 files changed, 1 insertions, 8 deletions
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 <bsd.port.options.mk>
-
-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 <bsd.port.mk>