diff options
author | hwr <hwr> | 1999-02-06 20:06:32 +0000 |
---|---|---|
committer | hwr <hwr> | 1999-02-06 20:06:32 +0000 |
commit | 0ca707356c5b7a808b4e2665798634eef358166b (patch) | |
tree | 76f8deee420bb0340be41db21b1a1b8da080646b /databases | |
parent | 9ba5de4838d107d47fa6cd0f5abbace948ce0597 (diff) | |
download | pkgsrc-0ca707356c5b7a808b4e2665798634eef358166b.tar.gz |
Don't build the directory, as addnerd does this for us and will fail
if it already exists. Should fix pkg/6949 by Nigel Reed <nigel@nelgin.nu>.
Also don't assume ${prefix}/sbin is in the search path and call addnerd
with complete path.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/postgresql/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/databases/postgresql/Makefile b/databases/postgresql/Makefile index 9790efb8f35..260e6aa574b 100644 --- a/databases/postgresql/Makefile +++ b/databases/postgresql/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 1999/01/17 00:59:37 frueauf Exp $ +# $NetBSD: Makefile,v 1.27 1999/02/06 20:06:32 hwr Exp $ # FreeBSD Id: Makefile,v 1.22 1997/12/24 01:21:37 alex Exp DISTNAME= postgresql-6.4.2 @@ -73,8 +73,7 @@ pre-install: .if defined(PACKAGE_BUILDING) ${RM} -rf ${PREFIX}/${PGUSER} .endif - -@${MKDIR} ${PREFIX}/${PGUSER} - @${SETENV} ${MAKE_ENV} addnerd -h ${PREFIX} -g ${PGGROUP} ${PGUSER} + @${SETENV} ${MAKE_ENV} ${PREFIX}/sbin/addnerd -h ${PREFIX} -g ${PGGROUP} ${PGUSER} @${SED} -e 's|@PGUSER@|${PGUSER}|g' ${PKGDIR}/PLIST > ${PLIST_SRC} post-install: |