diff options
author | spz <spz@pkgsrc.org> | 2012-05-10 21:58:38 +0000 |
---|---|---|
committer | spz <spz@pkgsrc.org> | 2012-05-10 21:58:38 +0000 |
commit | 874021648f88d274b6f5bef2297c22b8c7ee30cd (patch) | |
tree | 92b036cc93ab6722777bad2e5c1dc513c327d2be /net | |
parent | 36c27fc58151c21f6b18e9b4bcc3d0eac268b1b8 (diff) | |
download | pkgsrc-874021648f88d274b6f5bef2297c22b8c7ee30cd.tar.gz |
fix PLIST for an optionally installed file when picking option snmp
Diffstat (limited to 'net')
-rw-r--r-- | net/xymon/PLIST | 4 | ||||
-rw-r--r-- | net/xymon/options.mk | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/net/xymon/PLIST b/net/xymon/PLIST index 659ddc1388b..0f9854b681c 100644 --- a/net/xymon/PLIST +++ b/net/xymon/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.4 2012/04/28 18:26:19 gendalia Exp $ +@comment $NetBSD: PLIST,v 1.5 2012/05/10 21:58:38 spz Exp $ libexec/xymon/ackinfo.cgi libexec/xymon/acknowledge.cgi libexec/xymon/appfeed.cgi @@ -68,7 +68,7 @@ libexec/xymon/trimhistory libexec/xymon/useradm.cgi libexec/xymon/xymon libexec/xymon/xymon-mailack -libexec/xymon/xymon-snmpcollect +${PLIST.snmp}libexec/xymon/xymon-snmpcollect libexec/xymon/xymon.sh libexec/xymon/xymoncfg libexec/xymon/xymoncgimsg.cgi diff --git a/net/xymon/options.mk b/net/xymon/options.mk index 54cc7b39af3..4f42250737c 100644 --- a/net/xymon/options.mk +++ b/net/xymon/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.1 2011/10/16 15:19:08 spz Exp $ +# $NetBSD: options.mk,v 1.2 2012/05/10 21:58:38 spz Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.xymon PKG_SUPPORTED_OPTIONS= ldap snmp ssl @@ -6,6 +6,8 @@ PKG_SUGGESTED_OPTIONS= ldap ssl .include "../../mk/bsd.options.mk" +PLIST_VARS+= snmp + # include support for ldap .if !empty(PKG_OPTIONS:Mldap) CONFIGURE_ARGS+= "--ldapinclude" "${BUILDLINK_PREFIX.openldap-client}/include" @@ -24,6 +26,7 @@ CONFIGURE_ENV+= ENABLELDAP=n CONFIGURE_ENV+= SNMP=1 CONFIGURE_ARGS+= "--snmpconfig" "${BUILDLINK_PREFIX.net-snmp}/bin/net-snmp-config" .include "../../net/net-snmp/buildlink3.mk" +PLIST.snmp= yes .else CONFIGURE_ENV+= SNMP=n .endif |