From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Mar 11 01:27:30 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A38F616A41F for ; Sat, 11 Mar 2006 01:27:30 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F89044221 for ; Sat, 11 Mar 2006 01:20:12 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k2B1KC2G057047 for ; Sat, 11 Mar 2006 01:20:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k2B1KCQp057046; Sat, 11 Mar 2006 01:20:12 GMT (envelope-from gnats) Resent-Date: Sat, 11 Mar 2006 01:20:12 GMT Resent-Message-Id: <200603110120.k2B1KCQp057046@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tsuyoshi Arai Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E39B16A448 for ; Sat, 11 Mar 2006 01:18:17 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B57845ED5 for ; Fri, 10 Mar 2006 15:08:13 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k2AF8D4v051494 for ; Fri, 10 Mar 2006 15:08:13 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k2AF8Duj051493; Fri, 10 Mar 2006 15:08:13 GMT (envelope-from nobody) Message-Id: <200603101508.k2AF8Duj051493@www.freebsd.org> Date: Fri, 10 Mar 2006 15:08:13 GMT From: Tsuyoshi Arai To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/94301: ports update ( databases/grass-i18n ) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Mar 2006 01:27:30 -0000 >Number: 94301 >Category: ports >Synopsis: ports update ( databases/grass-i18n ) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Mar 11 01:20:12 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Tsuyoshi Arai >Release: 6.0-RELEASE-p4 >Organization: Okayama Prefectural University >Environment: FreeBSD machine 6.0-RELEASE-p4 FreeBSD 6.0-RELEASE-p4 #2: Mon Jan 30 09:17:37 JST 2006 tarai@machine:/usr/obj/usr/src/sys/GENERIC i386 >Description: OPTIONS in Makefile should be used to set build options. Please review the following .diff file. >How-To-Repeat: >Fix: # diff -ur databases/grass-i18n/Makefile.orig databases/grass-i18n/Makefile --- databases/grass-i18n/Makefile.orig Fri Mar 10 23:40:43 2006 +++ databases/grass-i18n/Makefile Fri Mar 10 23:46:13 2006 @@ -31,33 +31,6 @@ FILES_TKI18N= tcltkgrass-i18n${EXTRACT_SUFX} FILES_FONTS= grass${PORTVERSION}_i686-pc-linux-i18n-ipafull-gnu_bin${EXTRACT_SUFX} -.if defined(WITH_POSTGRES) -USE_PGSQL= yes -LIB_DEPENDS+= odbc.1:${PORTSDIR}/databases/unixODBC -CONFIGURE_ARGS+=--with-postgres \ - --with-postgres-includes=${LOCALBASE}/include/postgresql/internal/ \ - --with-odbc -PLIST_SUB+= POSTGRES="" -.else -CONFIGURE_ARGS+=--without-postgres \ - --without-odbc -PLIST_SUB+= POSTGRES="@comment " -.endif - -.if defined(WITH_TCLTK) -BUILD_DEPENDS+= tclsh8.3:${PORTSDIR}/lang/tcl83 \ - wish8.3:${PORTSDIR}/x11-toolkits/tk83 -RUN_DEPENDS+= tclsh8.3:${PORTSDIR}/lang/tcl83 \ - wish8.3:${PORTSDIR}/x11-toolkits/tk83 -CONFIGURE_ARGS+=--with-tcltk \ - --with-tcltk-includes="${LOCALBASE}/include/tcl8.3 \ - ${LOCALBASE}/include/tk8.3" -PLIST_SUB+= TCLTK="" -.else -CONFIGURE_ARGS+=--without-tcltk -PLIST_SUB+= TCLTK="@comment " -.endif - EXTRACT_AFTER_ARGS= | ${TAR} -xf - --exclude *CVS* WRKSRC= ${WRKDIR}/grass-${PORTVERSION}-i18n @@ -84,7 +57,37 @@ CONFIGURE_IN_SUB= PTHREAD_CFLAGS=${PTHREAD_CFLAGS} \ PTHREAD_LIBS=${PTHREAD_LIBS} +OPTIONS+= POSTGRES "With PostgreSQL support" off\ + TCLTK "With TCL8.3/TK8.3 support" off + .include + +.if defined(WITH_POSTGRES) +USE_PGSQL= yes +LIB_DEPENDS+= odbc.1:${PORTSDIR}/databases/unixODBC +CONFIGURE_ARGS+=--with-postgres \ + --with-postgres-includes=${LOCALBASE}/include/postgresql/internal/ \ + --with-odbc +PLIST_SUB+= POSTGRES="" +.else +CONFIGURE_ARGS+=--without-postgres \ + --without-odbc +PLIST_SUB+= POSTGRES="@comment " +.endif + +.if defined(WITH_TCLTK) +BUILD_DEPENDS+= tclsh8.3:${PORTSDIR}/lang/tcl83 \ + wish8.3:${PORTSDIR}/x11-toolkits/tk83 +RUN_DEPENDS+= tclsh8.3:${PORTSDIR}/lang/tcl83 \ + wish8.3:${PORTSDIR}/x11-toolkits/tk83 +CONFIGURE_ARGS+=--with-tcltk \ + --with-tcltk-includes="${LOCALBASE}/include/tcl8.3 \ + ${LOCALBASE}/include/tk8.3" +PLIST_SUB+= TCLTK="" +.else +CONFIGURE_ARGS+=--without-tcltk +PLIST_SUB+= TCLTK="@comment " +.endif pre-extract: @${ECHO_CMD} "You can specify the following build options:" >Release-Note: >Audit-Trail: >Unformatted: