aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql73
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-06-13 03:16:57 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-06-13 03:16:57 +0000
commit2d50ab98aa9fed5154e47ecf80f4b62373da731e (patch)
tree6b8d958c846823aa4b8ff318a36bc2dcf9068a20 /databases/postgresql73
parentc2630c339abe119b83a4089a59beb419bf5f8d3c (diff)
downloadports-2d50ab98aa9fed5154e47ecf80f4b62373da731e.tar.gz
ports-2d50ab98aa9fed5154e47ecf80f4b62373da731e.zip
The configure script *must* run pre-fetch, since the dependencies are
checked in the fetch target. Before the patch below, make install will fail to depend on Tcl/Tk, for instance. Synchronize the batch and default interactive selections for optional parts of the port. PR: ports/27949 Submitted by: Palle Girgensohn <girgen@partitur.se> (MAINTAINER)
Notes
Notes: svn path=/head/; revision=43927
Diffstat (limited to 'databases/postgresql73')
-rw-r--r--databases/postgresql73/Makefile12
-rw-r--r--databases/postgresql73/scripts/configure.postgresql4
2 files changed, 8 insertions, 8 deletions
diff --git a/databases/postgresql73/Makefile b/databases/postgresql73/Makefile
index 2b9808841e99..a344f35f60e5 100644
--- a/databases/postgresql73/Makefile
+++ b/databases/postgresql73/Makefile
@@ -7,7 +7,7 @@
PORTNAME= postgresql
PORTVERSION= 7.1.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= databases
MASTER_SITES= ftp://ftp.iodynamics.com/pub/mirror/postgresql/%SUBDIR%/ \
ftp://ftp.postgresql.org/pub/%SUBDIR%/ \
@@ -89,15 +89,15 @@ SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \
NO_OPENSSL="${NO_OPENSSL}" \
DISTNAME="${DISTNAME}"
-pre-extract:
- @ ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.postgresql
-
-# We must .include here because we need the Makefile.inc @ pre-install,
-# but it is created @ pre-extract
+# We must .include here because we need the Makefile.inc @ pre-install
+# to determine the correct plist.
.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
.endif
+pre-everything:
+ @ ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.postgresql
+
pre-install:
@ ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/pkg-install ${PORTNAME} PRE-INSTALL
.if !defined(BATCH)
diff --git a/databases/postgresql73/scripts/configure.postgresql b/databases/postgresql73/scripts/configure.postgresql
index 998aec70c2cb..d9f176d10a4b 100644
--- a/databases/postgresql73/scripts/configure.postgresql
+++ b/databases/postgresql73/scripts/configure.postgresql
@@ -15,14 +15,14 @@ if [ ! "${BATCH}" ]; then
fi
if [ "${BATCH}" ]; then
- set \"MultiByte\" \"ODBC\" \"SSL\"
+ set \"MultiByte\" \"ODBC\" \"SSL\" \"TCL\" \"TK\"
else
/usr/bin/dialog --title "configuration options" --clear \
--checklist "\n\
Please select desired options:" -1 -1 7 \
JDBC "Java DataBase Connectivity" OFF \
MultiByte "Multibyte for Multilingualism" ON \
-ODBC "Open Database Connectivity" OFF \
+ODBC "Open Database Connectivity" ON \
TCL "Tcl" ON \
TCLTK "Tcl/Tk" ON \
SSL "Secure Socket Layer" ON \