From 976b0bd5571d10a05244ab713b4ef44651addf0b Mon Sep 17 00:00:00 2001 From: tnn Date: Mon, 2 Nov 2015 00:34:04 +0000 Subject: appease pkglint --- comms/asterisk/Makefile | 16 ++++++++-------- comms/asterisk18/Makefile | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) (limited to 'comms') diff --git a/comms/asterisk/Makefile b/comms/asterisk/Makefile index 3595eb34c33..b4f190a0151 100644 --- a/comms/asterisk/Makefile +++ b/comms/asterisk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.130 2015/11/02 00:03:59 tnn Exp $ +# $NetBSD: Makefile,v 1.131 2015/11/02 00:34:04 tnn Exp $ # # NOTE: when updating this package, there are two places that sound # tarballs need to be checked @@ -107,8 +107,8 @@ BUILDLINK_TRANSFORM+= rm:-march=i386 .endif PLIST_VARS+= kqueue -.for _dir_ in ${COMPILER_INCLUDE_DIRS} -. if exists(${_dir_}/sys/event.h) +.for dir in ${COMPILER_INCLUDE_DIRS} +. if exists(${dir}/sys/event.h) PLIST.kqueue= yes . endif .endfor @@ -116,9 +116,9 @@ PLIST.kqueue= yes PLIST_VARS+= mgcp # NOSIGPIPE is a temp variable, since PLIST.mgcp MUST remain undefined # if the grep fails -.for _dir_ in ${COMPILER_INCLUDE_DIRS} -. if(exists(${_dir_}/sys/socket.h)) -NOSIGPIPE!= ${GREP} SO_NOSIGPIPE ${_dir_}/sys/socket.h || echo "" +.for dir in ${COMPILER_INCLUDE_DIRS} +. if (exists(${dir}/sys/socket.h)) +NOSIGPIPE!= ${GREP} SO_NOSIGPIPE ${dir}/sys/socket.h || echo "" . if ${NOSIGPIPE} != "" PLIST.mgcp= yes . endif @@ -224,8 +224,8 @@ PTHREAD_OPTS+= require native post-patch: .if ${OPSYS} == "Darwin" -. for _dir_ in ${COMPILER_INCLUDE_DIRS} -. if exists(${_dir_}/sys/poll.h)) +. for dir in ${COMPILER_INCLUDE_DIRS} +. if exists(${dir}/sys/poll.h)) ${ECHO} "#include " > ${WRKSRC}/include/asterisk/poll-compat.h . endif . endfor diff --git a/comms/asterisk18/Makefile b/comms/asterisk18/Makefile index 28633a98b17..b9174fce350 100644 --- a/comms/asterisk18/Makefile +++ b/comms/asterisk18/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.101 2015/11/02 00:04:00 tnn Exp $ +# $NetBSD: Makefile,v 1.102 2015/11/02 00:34:04 tnn Exp $ # # NOTE: when updating this package, there are two places that sound # tarballs need to be checked @@ -96,8 +96,8 @@ BUILDLINK_TRANSFORM+= rm:-march=i386 .endif PLIST_VARS+= kqueue -.for _dir_ in ${COMPILER_INCLUDE_DIRS} -. if exists(${_dir_}/sys/event.h) +.for dir in ${COMPILER_INCLUDE_DIRS} +. if exists(${dir}/sys/event.h) PLIST.kqueue= yes . endif .endfor @@ -105,9 +105,9 @@ PLIST.kqueue= yes PLIST_VARS+= mgcp # NOSIGPIPE is a temp variable, since PLIST.mgcp MUST remain undefined # if the grep fails -.for _dir_ in ${COMPILER_INCLUDE_DIRS} -. if(exists(${_dir_}/sys/socket.h)) -NOSIGPIPE!= ${GREP} SO_NOSIGPIPE ${_dir_}/sys/socket.h || echo "" +.for dir in ${COMPILER_INCLUDE_DIRS} +. if (exists(${dir}/sys/socket.h)) +NOSIGPIPE!= ${GREP} SO_NOSIGPIPE ${dir}/sys/socket.h || echo "" . if ${NOSIGPIPE} != "" PLIST.mgcp= yes . endif @@ -203,8 +203,8 @@ PTHREAD_OPTS+= require native post-patch: .if ${OPSYS} == "Darwin" -. for _dir_ in ${COMPILER_INCLUDE_DIRS} -. if exists(${_dir_}/sys/poll.h)) +. for dir in ${COMPILER_INCLUDE_DIRS} +. if exists(${dir}/sys/poll.h)) ${ECHO} "#include " > ${WRKSRC}/include/asterisk/poll-compat.h . endif . endfor -- cgit v1.2.3