summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2011-02-25 00:44:43 +0000
committerMark Linimon <linimon@FreeBSD.org>2011-02-25 00:44:43 +0000
commitcc8428d92765048417fe18a64ad3452f73af0619 (patch)
tree9ba597006e43d8fda6307491ee02f6710a82d512 /sysutils
parentMark as broken on i386-8. (diff)
Mark the various sysutils/rsyslog*-snmp ports as only being broken on
i386-8 and above, instead of everywhere. Reported by: pointyhat
Notes
Notes: svn path=/head/; revision=269619
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/rsyslog3-snmp/Makefile10
-rw-r--r--sysutils/rsyslog4-devel-snmp/Makefile1
-rw-r--r--sysutils/rsyslog4-devel/Makefile4
-rw-r--r--sysutils/rsyslog4-snmp/Makefile2
-rw-r--r--sysutils/rsyslog4/Makefile4
-rw-r--r--sysutils/rsyslog5-devel-snmp/Makefile2
-rw-r--r--sysutils/rsyslog5-devel/Makefile4
-rw-r--r--sysutils/rsyslog5-snmp/Makefile2
-rw-r--r--sysutils/rsyslog5/Makefile4
-rw-r--r--sysutils/rsyslog6-devel-snmp/Makefile2
-rw-r--r--sysutils/rsyslog6-devel/Makefile4
11 files changed, 28 insertions, 11 deletions
diff --git a/sysutils/rsyslog3-snmp/Makefile b/sysutils/rsyslog3-snmp/Makefile
index 398cdba2d63e..f479621a2814 100644
--- a/sysutils/rsyslog3-snmp/Makefile
+++ b/sysutils/rsyslog3-snmp/Makefile
@@ -10,7 +10,13 @@ COMMENT= SNMP trap sender for rsyslog
MNAME= snmp
MTYPES= om
LIB_DEPENDS= netsnmp.20:${PORTSDIR}/net-mgmt/net-snmp
-BROKEN= fails to build
.include "${.CURDIR}/../rsyslog3/bsd.rsyslog.mk"
-.include <bsd.port.mk>
+
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "i386" && ${OSVERSION} >= 800000
+BROKEN= Does not link on i386: can't find symbol snmp_timeout in libnetsnmp
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/rsyslog4-devel-snmp/Makefile b/sysutils/rsyslog4-devel-snmp/Makefile
index 1d2e1c623157..924a92115801 100644
--- a/sysutils/rsyslog4-devel-snmp/Makefile
+++ b/sysutils/rsyslog4-devel-snmp/Makefile
@@ -12,7 +12,6 @@ MNAME= snmp
LIB_DEPENDS= netsnmp.20:${PORTSDIR}/net-mgmt/net-snmp
CONFIGURE_ARGS+=--enable-snmp
-BROKEN= fails to build
PLIST_FILES+= lib/rsyslog/omsnmp.la \
lib/rsyslog/omsnmp.so
diff --git a/sysutils/rsyslog4-devel/Makefile b/sysutils/rsyslog4-devel/Makefile
index bb72674238f6..e773c4385f99 100644
--- a/sysutils/rsyslog4-devel/Makefile
+++ b/sysutils/rsyslog4-devel/Makefile
@@ -81,6 +81,10 @@ post-install:
IGNORE= with gssapi module is only supported on FreeBSD 7.x or later
.endif
+.if ${MNAME} == "snmp" && ${ARCH} == "i386" && ${OSVERSION} >= 800000
+BROKEN= Does not link on i386: can't find symbol snmp_timeout in libnetsnmp
+.endif
+
CONFIGURE_ARGS+= --disable-rsyslogd --disable-klog
DESCR?= ${.CURDIR}/../rsyslog4-devel/pkg-descr
diff --git a/sysutils/rsyslog4-snmp/Makefile b/sysutils/rsyslog4-snmp/Makefile
index 8e92f5ca7722..211258079e20 100644
--- a/sysutils/rsyslog4-snmp/Makefile
+++ b/sysutils/rsyslog4-snmp/Makefile
@@ -16,8 +16,6 @@ CONFIGURE_ARGS+=--enable-snmp
PLIST_FILES+= lib/rsyslog/omsnmp.la \
lib/rsyslog/omsnmp.so
-BROKEN= fails to build
-
do-install:
@${INSTALL_PROGRAM} \
${WRKSRC}/plugins/omsnmp/.libs/omsnmp.so ${PREFIX}/lib/rsyslog
diff --git a/sysutils/rsyslog4/Makefile b/sysutils/rsyslog4/Makefile
index ea6f41991e93..7a479b7286fc 100644
--- a/sysutils/rsyslog4/Makefile
+++ b/sysutils/rsyslog4/Makefile
@@ -81,6 +81,10 @@ post-install:
IGNORE= with gssapi module is only supported on FreeBSD 7.x or later
.endif
+.if ${MNAME} == "snmp" && ${ARCH} == "i386" && ${OSVERSION} >= 800000
+BROKEN= Does not link on i386: can't find symbol snmp_timeout in libnetsnmp
+.endif
+
CONFIGURE_ARGS+= --disable-rsyslogd --disable-klog
DESCR?= ${.CURDIR}/../rsyslog4/pkg-descr
diff --git a/sysutils/rsyslog5-devel-snmp/Makefile b/sysutils/rsyslog5-devel-snmp/Makefile
index 80a88eb1332c..d66ab2d84de1 100644
--- a/sysutils/rsyslog5-devel-snmp/Makefile
+++ b/sysutils/rsyslog5-devel-snmp/Makefile
@@ -13,8 +13,6 @@ LIB_DEPENDS= netsnmp.20:${PORTSDIR}/net-mgmt/net-snmp
CONFIGURE_ARGS+=--enable-snmp
-BROKEN= fails to build
-
PLIST_FILES+= lib/rsyslog/omsnmp.la \
lib/rsyslog/omsnmp.so
diff --git a/sysutils/rsyslog5-devel/Makefile b/sysutils/rsyslog5-devel/Makefile
index 338d3464b159..2f394acb1677 100644
--- a/sysutils/rsyslog5-devel/Makefile
+++ b/sysutils/rsyslog5-devel/Makefile
@@ -77,6 +77,10 @@ post-install:
IGNORE= with gssapi module is only supported on FreeBSD 7.x or later
.endif
+.if ${MNAME} == "snmp" && ${ARCH} == "i386" && ${OSVERSION} >= 800000
+BROKEN= Does not link on i386: can't find symbol snmp_timeout in libnetsnmp
+.endif
+
CONFIGURE_ARGS+= --disable-rsyslogd --disable-klog
DESCR?= ${.CURDIR}/../rsyslog5-devel/pkg-descr
diff --git a/sysutils/rsyslog5-snmp/Makefile b/sysutils/rsyslog5-snmp/Makefile
index 14f1f4899726..f6a0e253d532 100644
--- a/sysutils/rsyslog5-snmp/Makefile
+++ b/sysutils/rsyslog5-snmp/Makefile
@@ -13,8 +13,6 @@ LIB_DEPENDS= netsnmp.20:${PORTSDIR}/net-mgmt/net-snmp
CONFIGURE_ARGS+=--enable-snmp
-BROKEN= fails to build
-
PLIST_FILES+= lib/rsyslog/omsnmp.la \
lib/rsyslog/omsnmp.so
diff --git a/sysutils/rsyslog5/Makefile b/sysutils/rsyslog5/Makefile
index 10b2d0d8983f..52fd7b115a46 100644
--- a/sysutils/rsyslog5/Makefile
+++ b/sysutils/rsyslog5/Makefile
@@ -88,6 +88,10 @@ post-install:
.ifdef MNAME
+.if ${MNAME} == "snmp" && ${ARCH} == "i386" && ${OSVERSION} >= 800000
+BROKEN= Does not link on i386: can't find symbol snmp_timeout in libnetsnmp
+.endif
+
CONFIGURE_ARGS+= --disable-rsyslogd --disable-klog
DESCR?= ${.CURDIR}/../rsyslog5/pkg-descr
diff --git a/sysutils/rsyslog6-devel-snmp/Makefile b/sysutils/rsyslog6-devel-snmp/Makefile
index 65c076d5cba7..b181e3b9aeb0 100644
--- a/sysutils/rsyslog6-devel-snmp/Makefile
+++ b/sysutils/rsyslog6-devel-snmp/Makefile
@@ -13,8 +13,6 @@ LIB_DEPENDS= netsnmp.20:${PORTSDIR}/net-mgmt/net-snmp
CONFIGURE_ARGS+=--enable-snmp
-BROKEN= fails to build
-
PLIST_FILES+= lib/rsyslog/omsnmp.la \
lib/rsyslog/omsnmp.so
diff --git a/sysutils/rsyslog6-devel/Makefile b/sysutils/rsyslog6-devel/Makefile
index 881d4bd101cd..ac743dd60d1d 100644
--- a/sysutils/rsyslog6-devel/Makefile
+++ b/sysutils/rsyslog6-devel/Makefile
@@ -86,6 +86,10 @@ post-install:
IGNORE= with gssapi module is only supported on FreeBSD 7.x or later
.endif
+.if ${MNAME} == "snmp" && ${ARCH} == "i386" && ${OSVERSION} >= 800000
+BROKEN= Does not link on i386: can't find symbol snmp_timeout in libnetsnmp
+.endif
+
CONFIGURE_ARGS+= --disable-rsyslogd --disable-klog
DESCR?= ${.CURDIR}/../rsyslog6-devel/pkg-descr