ports/64325: ports/net-mgmt/zabbix Makefile incorrect configure argument
Sergey Akifyev
asa at gascom.ru
Tue Mar 16 11:40:12 UTC 2004
The following reply was made to PR ports/64325; it has been noted by GNATS.
From: Sergey Akifyev <asa at gascom.ru>
To: Sascha Luck <sascha at c4inet.net>
Cc: FreeBSD-gnats-submit at FreeBSD.org
Subject: Re: ports/64325: ports/net-mgmt/zabbix Makefile incorrect
configure argument
Date: Tue, 16 Mar 2004 14:33:17 +0300
--=-QdPXKw77VAZ+G0ubGw6G
Content-Type: multipart/mixed; boundary="=-uQj0yLsqSyiX/NVCBvxc"
--=-uQj0yLsqSyiX/NVCBvxc
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
On Tue, 2004-03-16 at 14:14, Sascha Luck wrote:
> This bug prevents the zabbix port from building with SNMP support, thus S=
NMP monitoring is not supported.
Following patch fixes this issue, and problems with building
net/zabbix-agent.
--- Makefile.orig Sun Feb 29 04:35:52 2004
+++ Makefile Tue Mar 16 14:30:51 2004
@@ -38,11 +38,13 @@
RUN_DEPENDS+=3D ${LOCALBASE}/sbin/fping:${PORTSDIR}/net/fping
.endif
=20
-.ifndef(WITH_PGSQL)
-. ifndef(WITH_MYSQL)
+.ifndef(ZABBIX_AGENT_ONLY)
+. ifndef(WITH_PGSQL)
+. ifndef(WITH_MYSQL)
IGNORE=3D You should configure to use either a MySQL or PostgreSQL
backend.
+. endif
. endif
-.endif
+.endif # ZABBIX_AGENT_ONLY
=20
.ifdef(WITH_PGSQL)
CONFIGURE_ARGS+=3D--with-pgsql
@@ -52,7 +54,7 @@
USE_MYSQL=3D yes
CONFIGURE_ARGS=3D --with-mysql
.endif
-CONFIGURE_ARGS+=3D--with-netsnmp
+CONFIGURE_ARGS+=3D--with-net-snmp
PKGMESSAGE=3D ${WRKDIR}/pkg-message
=20
USE_REINPLACE=3D yes
--=20
regards,
Sergey Akifyev <asa at gascom.ru>
JSC Gascom <http://www.gascom.ru>
PGP key available from:
ftp://ftp.gascom.ru/pub/PGP-keys/asa.txt
--=-uQj0yLsqSyiX/NVCBvxc
Content-Disposition: attachment; filename=Makefile.diff
Content-Transfer-Encoding: base64
Content-Type: text/x-patch; name=Makefile.diff; charset=koi8-r
LS0tIE1ha2VmaWxlLm9yaWcJU3VuIEZlYiAyOSAwNDozNTo1MiAyMDA0DQorKysgTWFrZWZpbGUJ
VHVlIE1hciAxNiAxNDozMDo1MSAyMDA0DQpAQCAtMzgsMTEgKzM4LDEzIEBADQogUlVOX0RFUEVO
RFMrPQkke0xPQ0FMQkFTRX0vc2Jpbi9mcGluZzoke1BPUlRTRElSfS9uZXQvZnBpbmcNCiAuZW5k
aWYNCiANCi0uaWZuZGVmKFdJVEhfUEdTUUwpDQotLiBpZm5kZWYoV0lUSF9NWVNRTCkNCisuaWZu
ZGVmKFpBQkJJWF9BR0VOVF9PTkxZKQ0KKy4gaWZuZGVmKFdJVEhfUEdTUUwpDQorLiAgaWZuZGVm
KFdJVEhfTVlTUUwpDQogSUdOT1JFPQlZb3Ugc2hvdWxkIGNvbmZpZ3VyZSB0byB1c2UgZWl0aGVy
IGEgTXlTUUwgb3IgUG9zdGdyZVNRTCBiYWNrZW5kLg0KKy4gIGVuZGlmDQogLiBlbmRpZg0KLS5l
bmRpZg0KKy5lbmRpZiAjIFpBQkJJWF9BR0VOVF9PTkxZDQogDQogLmlmZGVmKFdJVEhfUEdTUUwp
DQogQ09ORklHVVJFX0FSR1MrPS0td2l0aC1wZ3NxbA0KQEAgLTUyLDcgKzU0LDcgQEANCiBVU0Vf
TVlTUUw9CXllcw0KIENPTkZJR1VSRV9BUkdTPQktLXdpdGgtbXlzcWwNCiAuZW5kaWYNCi1DT05G
SUdVUkVfQVJHUys9LS13aXRoLW5ldHNubXANCitDT05GSUdVUkVfQVJHUys9LS13aXRoLW5ldC1z
bm1wDQogUEtHTUVTU0FHRT0JJHtXUktESVJ9L3BrZy1tZXNzYWdlDQogDQogVVNFX1JFSU5QTEFD
RT0JeWVzDQo=
--=-uQj0yLsqSyiX/NVCBvxc--
--=-QdPXKw77VAZ+G0ubGw6G
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD8DBQBAVuX9bu06QwmNwNsRAivZAJ9u8PAgruKvolcQos0T5gNM0Sy5qwCffJTW
umT5caQTXIqSf4W15vqRjzo=
=YpL8
-----END PGP SIGNATURE-----
--=-QdPXKw77VAZ+G0ubGw6G--
More information about the freebsd-ports-bugs
mailing list