diff options
author | nork <nork@FreeBSD.org> | 2006-09-23 15:03:36 +0000 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2006-09-23 15:03:36 +0000 |
commit | 402329f106a3c269990202a54f5ad73b5ea6b776 (patch) | |
tree | f1ab9e1ebfed69a0e337a6a8c1fed999f9ad267e /net-mgmt/net-snmp-devel | |
parent | 7894cad62c516434d17ffc11c7cb05dcc06b4699 (diff) | |
download | FreeBSD-ports-402329f106a3c269990202a54f5ad73b5ea6b776.zip FreeBSD-ports-402329f106a3c269990202a54f5ad73b5ea6b776.tar.gz |
Fix -z bug.
Pointed out by: ume
Approved by: kuriyama (implicitly)
Diffstat (limited to 'net-mgmt/net-snmp-devel')
-rw-r--r-- | net-mgmt/net-snmp-devel/Makefile | 2 | ||||
-rw-r--r-- | net-mgmt/net-snmp-devel/files/snmpd.sh.in | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/net-mgmt/net-snmp-devel/Makefile b/net-mgmt/net-snmp-devel/Makefile index 49814d8..11aaced 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 1164805..fb0a7a3 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 ;; |