Date: Sat, 31 Aug 2002 21:59:10 +0200 (CEST) From: dirk.meyer@dinoex.sub.org To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/42261: [PATCH] postgresql7 must be confureed interactive Message-ID: <200208311959.g7VJxAIZ084162@home.dinoex.sub.de>
next in thread | raw e-mail | index | archive | help
>Number: 42261 >Category: ports >Synopsis: [PATCH] postgresql7 must be confureed interactive >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Aug 31 13:00:12 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Dirk Meyer >Release: FreeBSD 4.6-STABLE i386 >Organization: privat >Environment: System: FreeBSD 4.6-STABLE i386 >Description: postgresql7 must be configured interactive. >How-To-Repeat: make >Fix: allow user to set option in /etc/make.conf apply this patch: diff postgresql7/Makefile postgresql7/Makefile --- postgresql7/Makefile Wed Aug 28 09:03:39 2002 +++ postgresql7/Makefile Fri Aug 30 22:22:29 2002 @@ -95,7 +99,9 @@ FILESDIR="${FILESDIR}" \ TOUCH="${TOUCH}" \ MKDIR="${MKDIR}" \ - DISTNAME="${DISTNAME}" + DISTNAME="${DISTNAME}" \ + PGSQL_OPTIONS1="${PGSQL_OPTIONS1}" \ + PGSQL_OPTIONS2="${PGSQL_OPTIONS2}" # We must .include here because we need the Makefile.inc @ pre-install # to determine the correct plist. diff postgresql7/scripts/configure.postgresql postgresql7/scripts/configure.postgresql --- postgresql7/scripts/configure.postgresql Sat Apr 13 16:18:49 2002 +++ postgresql7/scripts/configure.postgresql Fri Apr 19 19:59:32 2002 @@ -21,7 +21,11 @@ fi if [ "${BATCH}" ]; then - set \"MultiByte\" \"KRB5\" + if [ "${PGSQL_OPTIONS1}" ]; then + set ${PGSQL_OPTIONS1} + else + set \"MultiByte\" \"KRB5\" + fi else /usr/bin/dialog --title "configuration options" --clear \ --checklist "\n\ @@ -83,7 +87,11 @@ echo "WITHOUT_MULTIBYTE=YES" >> ${WRKDIRPREFIX}${CURDIR}/Makefile.inc else if [ "${BATCH}" ]; then - set "nothing" + if [ "${PGSQL_OPTIONS2}" ]; then + set ${PGSQL_OPTIONS2} + else + set "nothing" + fi else /usr/bin/dialog --title "Default encoding system" --clear \ --radiolist "\n\ >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208311959.g7VJxAIZ084162>