aboutsummaryrefslogtreecommitdiffstats
path: root/x11-clocks
diff options
context:
space:
mode:
Diffstat (limited to 'x11-clocks')
-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>