summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authortnn <tnn>2015-11-02 00:34:04 +0000
committertnn <tnn>2015-11-02 00:34:04 +0000
commit976b0bd5571d10a05244ab713b4ef44651addf0b (patch)
tree635110d3808f78b0493c37a706d62b7f02c2363c /comms
parent7a90a18299cb8682709b9d9a13930f4cc67cdbd2 (diff)
downloadpkgsrc-976b0bd5571d10a05244ab713b4ef44651addf0b.tar.gz
appease pkglint
Diffstat (limited to 'comms')
-rw-r--r--comms/asterisk/Makefile16
-rw-r--r--comms/asterisk18/Makefile16
2 files changed, 16 insertions, 16 deletions
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 <sys/poll.h>" > ${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 <sys/poll.h>" > ${WRKSRC}/include/asterisk/poll-compat.h
. endif
. endfor