From 2d50ab98aa9fed5154e47ecf80f4b62373da731e Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Wed, 13 Jun 2001 03:16:57 +0000 Subject: 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 (MAINTAINER) --- databases/postgresql73/Makefile | 12 ++++++------ databases/postgresql73/scripts/configure.postgresql | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'databases/postgresql73') 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 \ -- cgit v1.2.3