aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorlme <lme@FreeBSD.org>2013-07-03 00:59:24 +0800
committerlme <lme@FreeBSD.org>2013-07-03 00:59:24 +0800
commitd3cc6db5aa53f99815a97a0a68349d81f493a30e (patch)
treeb5d5d93ad82ef715528876f88bc4c9699a7eaab2 /net-mgmt
parentfdfd8da10554766bda24bdc07454ebee36efb65b (diff)
downloadfreebsd-ports-gnome-d3cc6db5aa53f99815a97a0a68349d81f493a30e.tar.gz
freebsd-ports-gnome-d3cc6db5aa53f99815a97a0a68349d81f493a30e.tar.zst
freebsd-ports-gnome-d3cc6db5aa53f99815a97a0a68349d81f493a30e.zip
Fix a syntax problem with mibs directories list containing spaces instead of colons.
PR: ports/180203 Submitted by: maintainer
Diffstat (limited to 'net-mgmt')
-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