Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jul 2013 16:59:24 +0000 (UTC)
From:      Lars Engels <lme@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r322181 - head/net-mgmt/netdisco
Message-ID:  <201307021659.r62GxOuv008532@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lme
Date: Tue Jul  2 16:59:24 2013
New Revision: 322181
URL: http://svnweb.freebsd.org/changeset/ports/322181

Log:
  Fix a syntax problem with mibs directories list containing spaces instead of colons.
  
  PR:		ports/180203
  Submitted by:	maintainer

Modified:
  head/net-mgmt/netdisco/Makefile

Modified: head/net-mgmt/netdisco/Makefile
==============================================================================
--- head/net-mgmt/netdisco/Makefile	Tue Jul  2 16:54:14 2013	(r322180)
+++ head/net-mgmt/netdisco/Makefile	Tue Jul  2 16:59:24 2013	(r322181)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307021659.r62GxOuv008532>