aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/netdisco
diff options
context:
space:
mode:
authorLars Engels <lme@FreeBSD.org>2013-07-02 16:59:24 +0000
committerLars Engels <lme@FreeBSD.org>2013-07-02 16:59:24 +0000
commit49cc6ecf294070db3904aa7ec2c47568d7f30f6a (patch)
treeb5d5d93ad82ef715528876f88bc4c9699a7eaab2 /net-mgmt/netdisco
parentfd41145a00f156645ad45d1d7f969e3195b595aa (diff)
downloadports-49cc6ecf294070db3904aa7ec2c47568d7f30f6a.tar.gz
ports-49cc6ecf294070db3904aa7ec2c47568d7f30f6a.zip
Fix a syntax problem with mibs directories list containing spaces instead of colons.
PR: ports/180203 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=322181
Diffstat (limited to 'net-mgmt/netdisco')
-rw-r--r--net-mgmt/netdisco/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/net-mgmt/netdisco/Makefile b/net-mgmt/netdisco/Makefile
index 337036ae95dc..1c4503abae9d 100644
--- a/net-mgmt/netdisco/Makefile
+++ b/net-mgmt/netdisco/Makefile
@@ -63,11 +63,8 @@ MIBSDIR= ${PREFIX}/share/netdisco-mibs
RUN_DEPENDS+= ${MIBSDIR}/mib_index.txt:${PORTSDIR}/net-mgmt/netdisco-mibs
BUILD_DEPENDS+= ${MIBSDIR}/mib_index.txt:${PORTSDIR}/net-mgmt/netdisco-mibs
. include "${.CURDIR}/../netdisco-mibs/bsd.port.netdisco.mk"
-MIBINCLUDES=
-. for mib in ${MIBDIRS}
-MIBINCLUDES+= ${MIBSDIR}/${mib},
-. endfor
-MIBINCLUDES:=${MIBINCLUDES:S/,$//}
+MIBINCLUDES!=${ECHO} \"${MIBDIRS:S/^/${MIBSDIR}\//}\"
+MIBINCLUDES:=${MIBINCLUDES:S/ /:/g:S/"//g}
.else
MIBINCLUDES="#please add here mibs dirs list (at least snmp and rfc ones)"
.endif