aboutsummaryrefslogtreecommitdiff
path: root/x11-clocks/cairo-clock
diff options
context:
space:
mode:
authorDaichi GOTO <daichi@FreeBSD.org>2013-10-05 03:50:02 +0000
committerDaichi GOTO <daichi@FreeBSD.org>2013-10-05 03:50:02 +0000
commit53b0dd581d53881a08b241dff22d71255f67365d (patch)
tree64befc2ee27990b51aef2d7790b23c21b8447bd0 /x11-clocks/cairo-clock
parent7fbbdd20b6f8a392a10f337855dc8b1082a3af4e (diff)
downloadports-53b0dd581d53881a08b241dff22d71255f67365d.tar.gz
ports-53b0dd581d53881a08b241dff22d71255f67365d.zip
fixed build fail on 10-CURRENT
Notes
Notes: svn path=/head/; revision=329408
Diffstat (limited to 'x11-clocks/cairo-clock')
-rw-r--r--x11-clocks/cairo-clock/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/x11-clocks/cairo-clock/Makefile b/x11-clocks/cairo-clock/Makefile
index 9e43205775bf..2b051c84c719 100644
--- a/x11-clocks/cairo-clock/Makefile
+++ b/x11-clocks/cairo-clock/Makefile
@@ -34,6 +34,12 @@ post-patch:
@${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
+
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}