svn commit: r329408 - head/x11-clocks/cairo-clock

Daichi GOTO daichi at FreeBSD.org
Sat Oct 5 03:50:03 UTC 2013


Author: daichi
Date: Sat Oct  5 03:50:02 2013
New Revision: 329408
URL: http://svnweb.freebsd.org/changeset/ports/329408

Log:
  fixed build fail on 10-CURRENT

Modified:
  head/x11-clocks/cairo-clock/Makefile

Modified: head/x11-clocks/cairo-clock/Makefile
==============================================================================
--- head/x11-clocks/cairo-clock/Makefile	Sat Oct  5 03:26:09 2013	(r329407)
+++ head/x11-clocks/cairo-clock/Makefile	Sat Oct  5 03:50:02 2013	(r329408)
@@ -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}


More information about the svn-ports-head mailing list