summaryrefslogtreecommitdiff
path: root/databases/postgresql-devel
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1997-12-04 11:44:52 +0000
committerSatoshi Asami <asami@FreeBSD.org>1997-12-04 11:44:52 +0000
commit823b3209605add749dbdc5d85b633c9d1a0d68ba (patch)
tree560a781e73e72e13f57c10051b6f6b028df60ea1 /databases/postgresql-devel
parentMerge 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/postgresql-devel')
-rw-r--r--databases/postgresql-devel/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/databases/postgresql-devel/Makefile b/databases/postgresql-devel/Makefile
index 1c98bc493c16..acbe10c0c3b1 100644
--- a/databases/postgresql-devel/Makefile
+++ b/databases/postgresql-devel/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