aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-04-25 06:29:35 +0800
committermiwi <miwi@FreeBSD.org>2008-04-25 06:29:35 +0800
commit57fd3c581cb19c8aa40c7111125e6ec5c3e24238 (patch)
treee5ecfbc878433531f6eb8764bd3a2379035e8df5 /net
parentb39aac7fe16091200979044f41072444d6835cc9 (diff)
downloadfreebsd-ports-gnome-57fd3c581cb19c8aa40c7111125e6ec5c3e24238.tar.gz
freebsd-ports-gnome-57fd3c581cb19c8aa40c7111125e6ec5c3e24238.tar.zst
freebsd-ports-gnome-57fd3c581cb19c8aa40c7111125e6ec5c3e24238.zip
- Use ${PW} variable.
PR: 122910 Submitted by: Matthew Seaman <m.seaman@infracaninophile.co.uk> (maintainer)
Diffstat (limited to 'net')
-rw-r--r--net/phpldapadmin/Makefile6
-rw-r--r--net/phpldapadmin098/Makefile6
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