Date: Fri, 10 Mar 2006 15:08:13 GMT From: Tsuyoshi Arai <taraijpn@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/94301: ports update ( databases/grass-i18n ) Message-ID: <200603101508.k2AF8Duj051493@www.freebsd.org> Resent-Message-ID: <200603110120.k2B1KCQp057046@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <bsd.port.pre.mk> + +.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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603101508.k2AF8Duj051493>