svn commit: r438182 - head/x11-clocks/cairo-clock
Dmitry Marakasov
amdmi3 at FreeBSD.org
Mon Apr 10 15:49:26 UTC 2017
Author: amdmi3
Date: Mon Apr 10 15:49:25 2017
New Revision: 438182
URL: https://svnweb.freebsd.org/changeset/ports/438182
Log:
- Switch to USES=localbase
- Remove obsolete OSVERSION condition
Approved by: portmgr blanket
Modified:
head/x11-clocks/cairo-clock/Makefile
Modified: head/x11-clocks/cairo-clock/Makefile
==============================================================================
--- head/x11-clocks/cairo-clock/Makefile Mon Apr 10 15:48:53 2017 (r438181)
+++ head/x11-clocks/cairo-clock/Makefile Mon Apr 10 15:49:25 2017 (r438182)
@@ -11,24 +11,17 @@ MAINTAINER= daichi at 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>
More information about the svn-ports-head
mailing list