Date: Mon, 8 Nov 2010 18:49:04 +0300 (MSK) From: Pavel I Volkov <pavelivolkov@googlemail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/152054: [MAINTAINER] databases/sqlite3: correct dependencies (from tcl modules) Message-ID: <201011081549.oA8Fn4PX043409@pol.iib.ru> Resent-Message-ID: <201011081610.oA8GA4GK005018@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 152054 >Category: ports >Synopsis: [MAINTAINER] databases/sqlite3: correct dependencies (from tcl modules) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Nov 08 16:10:04 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Pavel I Volkov >Release: FreeBSD 8.1-RELEASE i386 >Organization: >Environment: System: FreeBSD pol.iib.ru 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Tue Jul 27 11:56:19 MSD 2010 >Description: [DESCRIBE CHANGES] correct dependencies (from tcl modules) Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- sqlite3-3.7.3_1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/databases/sqlite3.orig/Makefile /usr/ports/databases/sqlite3/Makefile --- /usr/ports/databases/sqlite3.orig/Makefile 2010-11-08 12:17:53.000000000 +0300 +++ /usr/ports/databases/sqlite3/Makefile 2010-11-08 18:24:36.000000000 +0300 @@ -7,6 +7,7 @@ PORTNAME= sqlite3 PORTVERSION= 3.7.3 +PORTREVISION= 1 CATEGORIES= databases MASTER_SITES= http://www.sqlite.org/ http://www2.sqlite.org/ DISTNAME= sqlite-${PORTVERSION} @@ -25,6 +26,7 @@ USE_GNOME= pkgconfig gnomehack USE_LDCONFIG= YES GNU_CONFIGURE= YES + USE_TCL_BUILD= 84+ CONFIGURE_ENV+= TCLSH_CMD="${TCLSH}" \ TCLLIBDIR="${PREFIX}/lib/${PORTNAME}" \ @@ -125,7 +127,7 @@ .if defined(WITH_TCLWRAPPER) CATEGORIES+= lang tcl COMMENT+= with TCL Wrapper -USE_TCL_RUN= 84+ +USE_TCL_RUN= yes ALL_TARGET= all tclsqlite3 INSTALL_TARGET= install tcl_install CONFIGURE_ARGS+= --with-tcl=${TCL_LIBDIR} @@ -156,6 +158,15 @@ CONFIGURE_ENV+= CPPFLAGS="-I. -I./src ${CPPFLAGS}" LDFLAGS="${LDFLAGS}" MAKE_ENV+= CPPFLAGS="-I. -I./src ${CPPFLAGS}" LDFLAGS="${LDFLAGS}" +.include <bsd.port.pre.mk> + +.if ${TCL_VER} > 8.4 +BUILD_DEPENDS+= ${LOCALBASE}/lib/tcl8/8.5/msgcat-1.4.3.tm:${PORTSDIR}/lang/tcl-modules +.if defined(WITH_TCLWRAPPER) +RUN_DEPENDS+= ${LOCALBASE}/lib/tcl8/8.5/msgcat-1.4.3.tm:${PORTSDIR}/lang/tcl-modules +.endif +.endif + post-install: .if defined(WITH_TCLWRAPPER) @${INSTALL_PROGRAM} ${WRKSRC}/.libs/tclsqlite3 ${PREFIX}/bin @@ -178,4 +189,4 @@ .endif .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> --- sqlite3-3.7.3_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011081549.oA8Fn4PX043409>