aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2015-12-31 06:48:15 +0800
committerpawel <pawel@FreeBSD.org>2015-12-31 06:48:15 +0800
commitf0c0cad82de44a7e0fbf789c87864ae0162d5a5e (patch)
tree4d73473c5ac1e3c25fd12b5922323b19759fb1f2 /net-mgmt
parent62cce99c940eb68b529a5caf8124a6a68dd259c9 (diff)
downloadfreebsd-ports-gnome-f0c0cad82de44a7e0fbf789c87864ae0162d5a5e.tar.gz
freebsd-ports-gnome-f0c0cad82de44a7e0fbf789c87864ae0162d5a5e.tar.zst
freebsd-ports-gnome-f0c0cad82de44a7e0fbf789c87864ae0162d5a5e.zip
- 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
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/zabbix2-frontend/Makefile1
-rw-r--r--net-mgmt/zabbix2-server/Makefile7
-rw-r--r--net-mgmt/zabbix22-frontend/Makefile1
-rw-r--r--net-mgmt/zabbix22-server/Makefile7
-rw-r--r--net-mgmt/zabbix24-frontend/Makefile1
-rw-r--r--net-mgmt/zabbix24-server/Makefile7
6 files changed, 18 insertions, 6 deletions
diff --git a/net-mgmt/zabbix2-frontend/Makefile b/net-mgmt/zabbix2-frontend/Makefile
index 0796a67114a2..abe5f3cfe5b2 100644
--- a/net-mgmt/zabbix2-frontend/Makefile
+++ b/net-mgmt/zabbix2-frontend/Makefile
@@ -8,6 +8,7 @@ CATEGORIES= net-mgmt
MASTERDIR= ${.CURDIR}/../zabbix2-server
NO_BUILD= yes
+NO_ARCH= yes
PATCHDIR=
PLIST= ${PKGDIR}/pkg-plist.frontend
diff --git a/net-mgmt/zabbix2-server/Makefile b/net-mgmt/zabbix2-server/Makefile
index 1711911a331f..9dd39bd62b19 100644
--- a/net-mgmt/zabbix2-server/Makefile
+++ b/net-mgmt/zabbix2-server/Makefile
@@ -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
diff --git a/net-mgmt/zabbix22-frontend/Makefile b/net-mgmt/zabbix22-frontend/Makefile
index 694d61c28580..0e3e21ca6e3f 100644
--- a/net-mgmt/zabbix22-frontend/Makefile
+++ b/net-mgmt/zabbix22-frontend/Makefile
@@ -8,6 +8,7 @@ PKGNAMESUFFIX= -frontend
MASTERDIR= ${.CURDIR}/../zabbix22-server
NO_BUILD= yes
+NO_ARCH= yes
PATCHDIR=
PLIST= ${PKGDIR}/pkg-plist.frontend
diff --git a/net-mgmt/zabbix22-server/Makefile b/net-mgmt/zabbix22-server/Makefile
index 166739c6846d..04e603d1df09 100644
--- a/net-mgmt/zabbix22-server/Makefile
+++ b/net-mgmt/zabbix22-server/Makefile
@@ -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
diff --git a/net-mgmt/zabbix24-frontend/Makefile b/net-mgmt/zabbix24-frontend/Makefile
index 094bffbbdedc..58e0ac40f423 100644
--- a/net-mgmt/zabbix24-frontend/Makefile
+++ b/net-mgmt/zabbix24-frontend/Makefile
@@ -8,6 +8,7 @@ PKGNAMESUFFIX= -frontend
MASTERDIR= ${.CURDIR}/../zabbix24-server
NO_BUILD= yes
+NO_ARCH= yes
PATCHDIR=
PLIST= ${PKGDIR}/pkg-plist.frontend
diff --git a/net-mgmt/zabbix24-server/Makefile b/net-mgmt/zabbix24-server/Makefile
index ac6b94b541b6..76299f3891d0 100644
--- a/net-mgmt/zabbix24-server/Makefile
+++ b/net-mgmt/zabbix24-server/Makefile
@@ -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