Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Nov 2015 21:14:38 +0000 (UTC)
From:      Lars Engels <lme@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r402376 - head/net-mgmt/icinga2
Message-ID:  <201511242114.tAOLEcG5011047@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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 \;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511242114.tAOLEcG5011047>