summaryrefslogtreecommitdiff
path: root/comms/asterisk
diff options
context:
space:
mode:
authortnn <tnn>2015-11-02 00:34:04 +0000
committertnn <tnn>2015-11-02 00:34:04 +0000
commit153d1ac56c747be68039962d1cc3954d47000b99 (patch)
tree635110d3808f78b0493c37a706d62b7f02c2363c /comms/asterisk
parent937d941e795c9d8ca9fbf01bad49ed73886e148c (diff)
downloadpkgsrc-153d1ac56c747be68039962d1cc3954d47000b99.tar.gz
appease pkglint
Diffstat (limited to 'comms/asterisk')
-rw-r--r--comms/asterisk/Makefile16
1 files changed, 8 insertions, 8 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