diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-04-24 22:29:35 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-04-24 22:29:35 +0000 |
commit | 54e7944d3ef5d3aabab09e348851779f6bcec844 (patch) | |
tree | f053d96edf8ed87085530dd5145774c9fcb53693 /net | |
parent | 532af5b0421996ad85f31525168723be8a261f29 (diff) | |
download | ports-54e7944d3ef5d3aabab09e348851779f6bcec844.tar.gz ports-54e7944d3ef5d3aabab09e348851779f6bcec844.zip |
Notes
Diffstat (limited to 'net')
-rw-r--r-- | net/phpldapadmin/Makefile | 6 | ||||
-rw-r--r-- | net/phpldapadmin098/Makefile | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/net/phpldapadmin/Makefile b/net/phpldapadmin/Makefile index b9a8451f5cb8..3d09b4a2ee8d 100644 --- a/net/phpldapadmin/Makefile +++ b/net/phpldapadmin/Makefile @@ -66,7 +66,7 @@ SUB_LIST+= PKGNAME=${PKGNAME} SUB_FILES+= pkg-message .include <bsd.port.pre.mk> -_PLA_GID!= /usr/sbin/pw group show -n ${PLA_GRP} | ${CUT} -d : -f 3 +_PLA_GID!= ${PW} group show -n ${PLA_GRP} | ${CUT} -d : -f 3 .if empty(_PLA_GID) _PLA_GID= 80 .endif @@ -84,11 +84,11 @@ pre-everything:: ${ECHO_MSG} "please use the net/phpldapadmin098 port instead." ${ECHO_MSG} "" .if defined(WITH_SUPHP) && !defined(WITHOUT_SUPHP) - @if /usr/sbin/pw show -n pldapadm >/dev/null 2>&1 ; then \ + @if ${PW} show -n pldapadm >/dev/null 2>&1 ; then \ ${ECHO_MSG} "===> WARNING ******************************" ; \ ${ECHO_MSG} "The default username used by ${PKNAME} has changed"; \ ${ECHO_MSG} "to ${PLA_USR} -- you should delete the old user:" ; \ - ${ECHO_MSG} " # /usr/sbin/pw user del -n pldapadm" ; \ + ${ECHO_MSG} " # ${PW} user del -n pldapadm" ; \ ${ECHO_MSG} "" ; \ fi .endif diff --git a/net/phpldapadmin098/Makefile b/net/phpldapadmin098/Makefile index 167eadbceba0..ac120483849d 100644 --- a/net/phpldapadmin098/Makefile +++ b/net/phpldapadmin098/Makefile @@ -65,7 +65,7 @@ SUB_LIST+= PKGNAME=${PKGNAME} SUB_FILES+= pkg-message .include <bsd.port.pre.mk> -_PLA_GID!= /usr/sbin/pw group show -n ${PLA_GRP} | ${CUT} -d : -f 3 +_PLA_GID!= ${PW} group show -n ${PLA_GRP} | ${CUT} -d : -f 3 .if empty(_PLA_GID) _PLA_GID= 80 .endif @@ -84,11 +84,11 @@ pre-everything:: ${ECHO_MSG} "net/phpldapadmin port instead." ${ECHO_MSG} "" .if defined(WITH_SUPHP) && !defined(WITHOUT_SUPHP) - @if /usr/sbin/pw show -n pldapadm >/dev/null 2>&1 ; then \ + @if ${PW} show -n pldapadm >/dev/null 2>&1 ; then \ ${ECHO_MSG} "===> WARNING ******************************" ; \ ${ECHO_MSG} "The default username used by ${PKNAME} has changed"; \ ${ECHO_MSG} "to ${PLA_USR} -- you should delete the old user:" ; \ - ${ECHO_MSG} " # /usr/sbin/pw user del -n pldapadm" ; \ + ${ECHO_MSG} " # ${PW} user del -n pldapadm" ; \ ${ECHO_MSG} "" ; \ fi .endif |