diff options
author | mi <mi@FreeBSD.org> | 2010-01-19 12:34:17 +0800 |
---|---|---|
committer | mi <mi@FreeBSD.org> | 2010-01-19 12:34:17 +0800 |
commit | e285d4108f80e1e69b8bbafab8fa91c4043044fa (patch) | |
tree | f50d6ef30698db85f1ee4ef2b6380fff0e14c32d /databases | |
parent | 34252ffcc1b60f6f1a3a1f12e6530a8cb47062dd (diff) | |
download | freebsd-ports-gnome-e285d4108f80e1e69b8bbafab8fa91c4043044fa.tar.gz freebsd-ports-gnome-e285d4108f80e1e69b8bbafab8fa91c4043044fa.tar.zst freebsd-ports-gnome-e285d4108f80e1e69b8bbafab8fa91c4043044fa.zip |
Convert to the USE_TCL. Bump PORTREVISION.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/tcl-Mysql/Makefile | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/databases/tcl-Mysql/Makefile b/databases/tcl-Mysql/Makefile index 0ae7558a5344..33e2ab374018 100644 --- a/databases/tcl-Mysql/Makefile +++ b/databases/tcl-Mysql/Makefile @@ -7,7 +7,7 @@ PORTNAME= ${TCL_NODOT}-sql PORTVERSION= 20000114 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= databases tcl MASTER_SITES= SF/tcl-sql/tcl-sql/${PORTVERSION} DISTNAME= tcl-sql-${PORTVERSION} @@ -17,13 +17,12 @@ MAINTAINER= mi@aldan.algebra.com COMMENT= TCL module for accessing MySQL databases LIB_DEPENDS= mysqlclient:${PORTSDIR}/databases/mysql41-client -BUILD_DEPENDS= tclsh${TCL_VERSION}:${PORTSDIR}/lang/${TCL_NODOT} -TCL_VERSION?= 8.4 # Only this needs changing to switch TCL-version -TCL_NODOT= tcl${TCL_VERSION:S/.//} +USE_TCL= 83+ +TCL_NODOT= tcl${TCL_VER:S/.//} WRKSRC= ${WRKDIR}/tcl-sql/ LIB_NAME= libTclMySQL.so.1 -PLIST_SUB= TCL_VERSION=tcl${TCL_VERSION} LIB_NAME=${LIB_NAME} +PLIST_SUB= TCL_VERSION=tcl${TCL_VER} LIB_NAME=${LIB_NAME} MAKE_ARGS+= SHLIB_NAME=${LIB_NAME} ${PLIST_SUB} REINPLACE_ARGS= -i "" MAKEFILE= ${FILESDIR}/Makefile.bsd @@ -33,12 +32,12 @@ DOCSDIR?= ${PREFIX}/share/doc/tcl-MySQL post-patch: @${REINPLACE_CMD} -e 's,^int ,static int ,' ${WRKSRC}/sql.cc -SQL_DIR= ${LOCALBASE}/lib/tcl${TCL_VERSION}/sql1.0 +SQL_DIR= ${LOCALBASE}/lib/tcl${TCL_VER}/sql1.0 do-install: ${MKDIR} ${SQL_DIR} ${INSTALL_DATA} ${WRKSRC}/obj/libTclMySQL.so.* ${SQL_DIR} - ${ECHO} "package ifneeded sql 1.0 \ + ${ECHO} "package ifneeded sql 1.1 \ {load ${SQL_DIR}/${LIB_NAME} sql}" \ > ${SQL_DIR}/pkgIndex.tcl .if !defined(NOPORTDOCS) |