aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp-devel
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2006-09-23 15:03:36 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2006-09-23 15:03:36 +0000
commit11d54338e7fbc4c2183a99fc700eeae9546e44bb (patch)
treeb0f069492e1022d456e3fe2ea452398228de9780 /net-mgmt/net-snmp-devel
parent46c6c72bdac36c87983fa43103bdf04c12705db8 (diff)
downloadports-11d54338e7fbc4c2183a99fc700eeae9546e44bb.tar.gz
ports-11d54338e7fbc4c2183a99fc700eeae9546e44bb.zip
Fix -z bug.
Pointed out by: ume Approved by: kuriyama (implicitly)
Notes
Notes: svn path=/head/; revision=173651
Diffstat (limited to 'net-mgmt/net-snmp-devel')
-rw-r--r--net-mgmt/net-snmp-devel/Makefile2
-rw-r--r--net-mgmt/net-snmp-devel/files/snmpd.sh.in4
2 files changed, 3 insertions, 3 deletions
diff --git a/net-mgmt/net-snmp-devel/Makefile b/net-mgmt/net-snmp-devel/Makefile
index 49814d88b016..11aaceda9c23 100644
--- a/net-mgmt/net-snmp-devel/Makefile
+++ b/net-mgmt/net-snmp-devel/Makefile
@@ -7,7 +7,7 @@
PORTNAME= snmp
PORTVERSION= 5.2.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net-mgmt ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= net-snmp
diff --git a/net-mgmt/net-snmp-devel/files/snmpd.sh.in b/net-mgmt/net-snmp-devel/files/snmpd.sh.in
index 11648059a77d..fb0a7a3a5b4f 100644
--- a/net-mgmt/net-snmp-devel/files/snmpd.sh.in
+++ b/net-mgmt/net-snmp-devel/files/snmpd.sh.in
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/net-mgmt/net-snmp-devel/files/Attic/snmpd.sh.in,v 1.3 2006-09-23 11:31:09 nork Exp $
+# $FreeBSD: /tmp/pcvs/ports/net-mgmt/net-snmp-devel/files/Attic/snmpd.sh.in,v 1.4 2006-09-23 15:03:36 nork Exp $
#
# PROVIDE: snmpd
# REQUIRE: DAEMON
@@ -51,7 +51,7 @@ case "${snmpd_flags}" in
"Please use \$snmpd_conffile instead."
;;
*)
- if [ ! -z ${snmpd_conffile} -a -f ${snmpd_conffile} ]; then
+ if [ ! -z "${snmpd_conffile}" -a -f ${snmpd_conffile} ]; then
snmpd_flags="-c ${snmpd_conffile} ${snmpd_flags}"
fi
;;