diff options
author | Jason Helfman <jgh@FreeBSD.org> | 2012-12-27 21:11:42 +0000 |
---|---|---|
committer | Jason Helfman <jgh@FreeBSD.org> | 2012-12-27 21:11:42 +0000 |
commit | f40487fab93ec8ae8c17331312c2ff24ad821bd2 (patch) | |
tree | eae107e9393cc6710bb96813ea59593bc7e559a4 /databases/postgresql91-server | |
parent | Use the new project URL to let the application attach coorectly to the (diff) |
- remove broken configurable non-default user/group for postgresql-server
- while here fix formatting of new header
With hat: pgsql@
Notes
Notes:
svn path=/head/; revision=309555
Diffstat (limited to 'databases/postgresql91-server')
-rw-r--r-- | databases/postgresql91-server/Makefile | 23 |
1 files changed, 6 insertions, 17 deletions
diff --git a/databases/postgresql91-server/Makefile b/databases/postgresql91-server/Makefile index f888cde42a3b..713af9eb77f3 100644 --- a/databases/postgresql91-server/Makefile +++ b/databases/postgresql91-server/Makefile @@ -1,5 +1,4 @@ -# Created by: Marc G. Fournier <scrappy@FreeBSD.org> -# +# Created by: Marc G. Fournier <scrappy@FreeBSD.org> # $FreeBSD$ PORTNAME?= postgresql @@ -40,9 +39,9 @@ GNU_CONFIGURE= yes .undef GNU_CONFIGURE .endif -PG_USER?= pgsql -PG_GROUP?= ${PG_USER} -PG_UID?= 70 +PG_USER= pgsql +PG_GROUP= pgsql +PG_UID= 70 LDFLAGS+= -L${LOCALBASE}/lib INCLUDES+= -I${LOCALBASE}/include @@ -69,12 +68,8 @@ SERVER_ONLY= yes USE_RC_SUBR= postgresql USE_PGSQL= yes WANT_PGSQL_VER= ${DISTVERSION:C/([0-9][0-9]*)\.([0-9][0-9]*).*/\1\2/g} -USERS?= ${PG_USER} -.if (${USERS} != "pgsql") -UID_FILES+= ${WRKDIR}/pguid -GID_FILES+= ${WRKDIR}/pggid -.endif -GROUPS?= ${PG_GROUP} +USERS= ${PG_USER} +GROUPS= ${PG_GROUP} SUB_FILES+= 502.pgsql .endif @@ -362,12 +357,6 @@ post-patch: ${WRKSRC}/configure.in . endif -. if defined(SERVER_ONLY) && (${PG_USER} != "pgsql") -pre-install: - @${SED} -n s,pgsql,${PG_USER},gp ${PORTSDIR}/UIDs > ${WRKDIR}/pguid - @${SED} -n s,pgsql,${PG_GROUP},gp ${PORTSDIR}/GIDs > ${WRKDIR}/pggid -. endif - do-install: @for dir in ${INSTALL_DIRS}; do \ cd ${WRKSRC}/$${dir} && \ |