svn commit: r402376 - head/net-mgmt/icinga2
Lars Engels
lme at FreeBSD.org
Tue Nov 24 21:14:39 UTC 2015
Author: lme
Date: Tue Nov 24 21:14:38 2015
New Revision: 402376
URL: https://svnweb.freebsd.org/changeset/ports/402376
Log:
Fix build on 9.x
PR: 204723
Submitted by: Markus Mann <freebsd-public at it64.de>
Modified:
head/net-mgmt/icinga2/Makefile
Modified: head/net-mgmt/icinga2/Makefile
==============================================================================
--- head/net-mgmt/icinga2/Makefile Tue Nov 24 20:34:22 2015 (r402375)
+++ head/net-mgmt/icinga2/Makefile Tue Nov 24 21:14:38 2015 (r402376)
@@ -91,6 +91,9 @@ post-patch:
.for f in ${LINUX_CONFIG}
${REINPLACE_CMD} 's,[Ll]inux,FreeBSD,g' ${WRKSRC}/etc/icinga2/conf.d/${f}
.endfor
+.if ${OSVERSION} < 1000000
+ ${REINPLACE_CMD} 's|,--no-export-dynamic||' ${WRKSRC}/CMakeLists.txt
+.endif
pre-install:
${FIND} ${WRKSRC}/etc -type f -name "*.conf" -exec ${MV} {} {}.sample \;
More information about the svn-ports-all
mailing list