From d3cc6db5aa53f99815a97a0a68349d81f493a30e Mon Sep 17 00:00:00 2001 From: lme Date: Tue, 2 Jul 2013 16:59:24 +0000 Subject: Fix a syntax problem with mibs directories list containing spaces instead of colons. PR: ports/180203 Submitted by: maintainer --- net-mgmt/netdisco/Makefile | 7 ++----- 1 file 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 -- cgit