diff options
author | hwr <hwr@pkgsrc.org> | 1999-02-06 20:06:32 +0000 |
---|---|---|
committer | hwr <hwr@pkgsrc.org> | 1999-02-06 20:06:32 +0000 |
commit | 9273ad2b46c536044a50a39dccc003a9d9b9171f (patch) | |
tree | 76f8deee420bb0340be41db21b1a1b8da080646b /databases/postgresql/Makefile | |
parent | 093e52a6a2697a72e02bd4fd115a8a0e3ed1fceb (diff) | |
download | pkgsrc-9273ad2b46c536044a50a39dccc003a9d9b9171f.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/postgresql/Makefile')
-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: |