svn commit: r322181 - head/net-mgmt/netdisco

Lars Engels lme at FreeBSD.org
Tue Jul 2 16:59:25 UTC 2013


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


More information about the svn-ports-all mailing list