svn commit: r404881 - in head/net-mgmt: zabbix2-frontend zabbix2-server zabbix22-frontend zabbix22-server zabbix24-frontend zabbix24-server

Pawel Pekala pawel at FreeBSD.org
Wed Dec 30 22:48:17 UTC 2015


Author: pawel
Date: Wed Dec 30 22:48:15 2015
New Revision: 404881
URL: https://svnweb.freebsd.org/changeset/ports/404881

Log:
  - Switch to our framework's USES=execinfo
  - Use EXECINFO_CPPFLAGS and EXECINFO_LDFLAGS to fix detection of
    libexecinfo on FreeBSD 9.x
  - Mark frontend ports as NO_ARCH
  
  PR:		205740
  Submitted by:	myself
  Approved by:	maintainer

Modified:
  head/net-mgmt/zabbix2-frontend/Makefile
  head/net-mgmt/zabbix2-server/Makefile
  head/net-mgmt/zabbix22-frontend/Makefile
  head/net-mgmt/zabbix22-server/Makefile
  head/net-mgmt/zabbix24-frontend/Makefile
  head/net-mgmt/zabbix24-server/Makefile

Modified: head/net-mgmt/zabbix2-frontend/Makefile
==============================================================================
--- head/net-mgmt/zabbix2-frontend/Makefile	Wed Dec 30 22:44:36 2015	(r404880)
+++ head/net-mgmt/zabbix2-frontend/Makefile	Wed Dec 30 22:48:15 2015	(r404881)
@@ -8,6 +8,7 @@ CATEGORIES=	net-mgmt
 MASTERDIR=	${.CURDIR}/../zabbix2-server
 
 NO_BUILD=	yes
+NO_ARCH=	yes
 PATCHDIR=
 PLIST=		${PKGDIR}/pkg-plist.frontend
 

Modified: head/net-mgmt/zabbix2-server/Makefile
==============================================================================
--- head/net-mgmt/zabbix2-server/Makefile	Wed Dec 30 22:44:36 2015	(r404880)
+++ head/net-mgmt/zabbix2-server/Makefile	Wed Dec 30 22:48:15 2015	(r404881)
@@ -58,8 +58,11 @@ CONFIGURE_ARGS+=	--enable-${ZABBIX_BUILD
 			--datadir=${ETCDIR}
 
 .if ${ZABBIX_BUILD} != "agent"
-LIB_DEPENDS=	libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp \
-		libexecinfo.so:${PORTSDIR}/devel/libexecinfo
+LIB_DEPENDS=	libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp
+USES+=		execinfo
+
+CPPFLAGS+=	${EXECINFO_CPPFLAGS}
+LDFLAGS+=	${EXECINFO_LDFLAGS}
 
 SUB_FILES=	pkg-message
 

Modified: head/net-mgmt/zabbix22-frontend/Makefile
==============================================================================
--- head/net-mgmt/zabbix22-frontend/Makefile	Wed Dec 30 22:44:36 2015	(r404880)
+++ head/net-mgmt/zabbix22-frontend/Makefile	Wed Dec 30 22:48:15 2015	(r404881)
@@ -8,6 +8,7 @@ PKGNAMESUFFIX=	-frontend
 MASTERDIR=	${.CURDIR}/../zabbix22-server
 
 NO_BUILD=	yes
+NO_ARCH=	yes
 PATCHDIR=
 PLIST=		${PKGDIR}/pkg-plist.frontend
 

Modified: head/net-mgmt/zabbix22-server/Makefile
==============================================================================
--- head/net-mgmt/zabbix22-server/Makefile	Wed Dec 30 22:44:36 2015	(r404880)
+++ head/net-mgmt/zabbix22-server/Makefile	Wed Dec 30 22:48:15 2015	(r404881)
@@ -59,8 +59,11 @@ CONFIGURE_ARGS+=	--enable-${ZABBIX_BUILD
 			--with-iconv=${ICONV_PREFIX}
 
 .if ${ZABBIX_BUILD} != "agent"
-LIB_DEPENDS=	libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp \
-		libexecinfo.so:${PORTSDIR}/devel/libexecinfo
+LIB_DEPENDS=	libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp
+USES+=		execinfo
+
+CPPFLAGS+=	${EXECINFO_CPPFLAGS}
+LDFLAGS+=	${EXECINFO_LDFLAGS}
 
 SUB_FILES=	pkg-message
 

Modified: head/net-mgmt/zabbix24-frontend/Makefile
==============================================================================
--- head/net-mgmt/zabbix24-frontend/Makefile	Wed Dec 30 22:44:36 2015	(r404880)
+++ head/net-mgmt/zabbix24-frontend/Makefile	Wed Dec 30 22:48:15 2015	(r404881)
@@ -8,6 +8,7 @@ PKGNAMESUFFIX=	-frontend
 MASTERDIR=	${.CURDIR}/../zabbix24-server
 
 NO_BUILD=	yes
+NO_ARCH=	yes
 PATCHDIR=
 PLIST=		${PKGDIR}/pkg-plist.frontend
 

Modified: head/net-mgmt/zabbix24-server/Makefile
==============================================================================
--- head/net-mgmt/zabbix24-server/Makefile	Wed Dec 30 22:44:36 2015	(r404880)
+++ head/net-mgmt/zabbix24-server/Makefile	Wed Dec 30 22:48:15 2015	(r404881)
@@ -60,8 +60,11 @@ CONFIGURE_ARGS+=	--enable-${ZABBIX_BUILD
 			--with-iconv=${ICONV_PREFIX}
 
 .if ${ZABBIX_BUILD} != "agent"
-LIB_DEPENDS=	libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp \
-		libexecinfo.so:${PORTSDIR}/devel/libexecinfo
+LIB_DEPENDS=	libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp
+USES+=		execinfo
+
+CPPFLAGS+=	${EXECINFO_CPPFLAGS}
+LDFLAGS+=	${EXECINFO_LDFLAGS}
 
 SUB_FILES=	pkg-message
 


More information about the svn-ports-head mailing list