Build with tcl8.2 instead of tcl8.0.

PR:		19108
Submitted by:	Adrian Filipi-Martin <adrian@ubergeeks.com>
This commit is contained in:
Steve Price 2000-07-10 02:13:02 +00:00
parent 20e547b840
commit ed7f616289
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=30400
3 changed files with 9 additions and 8 deletions

View File

@ -7,21 +7,21 @@
PORTNAME= tcl-sql
PORTVERSION= 20000114
CATEGORIES= databases tcl80
CATEGORIES= databases tcl82
MASTER_SITES= http://www.binevolve.com/~tdarugar/tcl-sql/download/
EXTRACT_SUFX= .tgz
MAINTAINER= mi@aldan.algebra.com
LIB_DEPENDS= mysqlclient.6:${PORTSDIR}/databases/mysql322-client
RUN_DEPENDS= tclsh8.0:${PORTSDIR}/lang/tcl80
RUN_DEPENDS= tclsh8.2:${PORTSDIR}/lang/tcl82
WRKSRC= ${WRKDIR}/tcl-sql/
do-build:
cd ${WRKSRC} && ${MAKE} PREFIX="${PREFIX}" -f ${FILESDIR}/Makefile.bsd
SQL_DIR= ${PREFIX}/lib/tcl8.0/sql1.0
SQL_DIR= ${PREFIX}/lib/tcl8.2/sql1.0
do-install:
${MKDIR} ${SQL_DIR}

View File

@ -3,8 +3,9 @@ SHLIB_MAJOR= 1
SHLIB_MINOR= 0
SRCS = sql-mysql.cc sql.cc sql-manager.cc
CFLAGS += -I${PREFIX}/include/tcl8.0/ -I${PREFIX}/include/mysql/
LDADD += -L${PREFIX}/lib -ltcl80
CFLAGS += -I${PREFIX}/include/tcl8.2
CFLAGS += -I${PREFIX}/include/mysql
LDADD += -L${PREFIX}/lib -ltcl82
LDADD += -L${PREFIX}/lib/mysql -lmysqlclient
LDADD += -lgcc

View File

@ -1,6 +1,6 @@
lib/tcl8.0/sql1.0/libTclMySQL.so.1
lib/tcl8.0/sql1.0/pkgIndex.tcl
@dirrm lib/tcl8.0/sql1.0
lib/tcl8.2/sql1.0/libTclMySQL.so.1
lib/tcl8.2/sql1.0/pkgIndex.tcl
@dirrm lib/tcl8.2/sql1.0
share/doc/tcl-MySQL/api.html
share/doc/tcl-MySQL/sample.full.txt
share/doc/tcl-MySQL/sample.simple.txt