diff options
author | tnn <tnn@pkgsrc.org> | 2015-11-02 00:34:04 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2015-11-02 00:34:04 +0000 |
commit | 29734fe8c03b913d51045725a3c69db312d8bf41 (patch) | |
tree | 635110d3808f78b0493c37a706d62b7f02c2363c /comms/asterisk | |
parent | 4aa816454356be4b20c120243cc591e026e2a717 (diff) | |
download | pkgsrc-29734fe8c03b913d51045725a3c69db312d8bf41.tar.gz |
appease pkglint
Diffstat (limited to 'comms/asterisk')
-rw-r--r-- | comms/asterisk/Makefile | 16 |
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 |