From 2016c8b43381da66c3dbbae0e95da156c64fa292 Mon Sep 17 00:00:00 2001 From: Mikhail Teterin Date: Wed, 31 Oct 2001 06:48:58 +0000 Subject: [PATCH] Don't use TCL_STUBS -- bump up PORTREVISION. Be carefull not to install an unpatched version of a document (.orig). --- databases/tcl-Mysql/Makefile | 5 +++-- databases/tcl-Mysql/files/Makefile.bsd | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/databases/tcl-Mysql/Makefile b/databases/tcl-Mysql/Makefile index b45d6d6c5d2e..13042b1c23e7 100644 --- a/databases/tcl-Mysql/Makefile +++ b/databases/tcl-Mysql/Makefile @@ -7,7 +7,7 @@ PORTNAME= tcl-sql PORTVERSION= 20000114 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= databases ${TCL_NODOT} MASTER_SITES= http://www.binevolve.com/~tdarugar/tcl-sql/download/ EXTRACT_SUFX= .tgz @@ -35,7 +35,8 @@ do-install: > ${SQL_DIR}/pkgIndex.tcl .if !defined(NOPORTDOCS) ${MKDIR} ${PREFIX}/share/doc/tcl-MySQL/ - ${INSTALL_DATA} ${WRKSRC}/docs/*.* ${PREFIX}/share/doc/tcl-MySQL/ + ${INSTALL_DATA} ${WRKSRC}/docs/*.html ${WRKSRC}/docs/*.txt \ + ${PREFIX}/share/doc/tcl-MySQL/ .endif .include diff --git a/databases/tcl-Mysql/files/Makefile.bsd b/databases/tcl-Mysql/files/Makefile.bsd index 19b4cfacf05a..07b65cc542fd 100644 --- a/databases/tcl-Mysql/files/Makefile.bsd +++ b/databases/tcl-Mysql/files/Makefile.bsd @@ -5,9 +5,9 @@ SHLIB_MAJOR= 1 SHLIB_MINOR= 0 SRCS = sql-mysql.cc sql.cc sql-manager.cc -CXXFLAGS+= -I${LOCALBASE}/include/${TCL_VERSION} -DUSE_TCL_STUBS +CXXFLAGS+= -I${LOCALBASE}/include/${TCL_VERSION} CXXFLAGS+= -I${LOCALBASE}/include/mysql -LDADD += -L${LOCALBASE}/lib -l${TCL_NODOT:S/tcl/tclstub/} +LDADD += -L${LOCALBASE}/lib -l${TCL_NODOT} LDADD += -L${LOCALBASE}/lib/mysql -lmysqlclient LDADD += -lgcc INTERNALLIB= yeah, don't make the useless static lib