diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1997-12-04 11:44:52 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1997-12-04 11:44:52 +0000 |
commit | 823b3209605add749dbdc5d85b633c9d1a0d68ba (patch) | |
tree | 560a781e73e72e13f57c10051b6f6b028df60ea1 /databases/postgresql74-server/Makefile | |
parent | Merge swig (committed accidentally) into SWIG. I copied Makefile, files/md5 (diff) |
Delete the database before installation if PACKAGE_BUILDING is defined
-- we are obviously not interested in keeping the old versions around
in that case.
Notes
Notes:
svn path=/head/; revision=8986
Diffstat (limited to 'databases/postgresql74-server/Makefile')
-rw-r--r-- | databases/postgresql74-server/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/databases/postgresql74-server/Makefile b/databases/postgresql74-server/Makefile index 1c98bc493c16..acbe10c0c3b1 100644 --- a/databases/postgresql74-server/Makefile +++ b/databases/postgresql74-server/Makefile @@ -3,7 +3,7 @@ # Date created: April 2, 1997 # Whom: Marc G. Fournier <scrappy@FreeBSD.ORG> # -# $Id: Makefile,v 1.19 1997/10/30 14:34:23 andreas Exp $ +# $Id: Makefile,v 1.20 1997/11/26 23:42:12 jseger Exp $ DISTNAME= postgresql-6.2.1 CATEGORIES= databases @@ -65,6 +65,9 @@ post-build: @ ${ECHO} "------------------------------------------------------------" pre-install: +.if defined(PACKAGE_BUILDING) + /bin/rm -rf ${PREFIX}/pgsql +.endif @ ${MKDIR} ${PREFIX}/pgsql @ ${SETENV} ${MAKE_ENV} perl ${SCRIPTDIR}/createuser |