summaryrefslogtreecommitdiff
path: root/databases/tcl-postgresql
diff options
context:
space:
mode:
authorjlam <jlam>2000-12-11 16:43:11 +0000
committerjlam <jlam>2000-12-11 16:43:11 +0000
commitb17e00bb5f3e1cc2730e6b65406da79f153ed65b (patch)
tree6180febd30d33ced378dfe79350bf2cb0885861a /databases/tcl-postgresql
parent29a19a6e2907e76591dac856cb5aaf338a988953 (diff)
downloadpkgsrc-b17e00bb5f3e1cc2730e6b65406da79f153ed65b.tar.gz
Cosmetic adjustments.
Diffstat (limited to 'databases/tcl-postgresql')
-rw-r--r--databases/tcl-postgresql/Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/databases/tcl-postgresql/Makefile b/databases/tcl-postgresql/Makefile
index edbabafe9c5..5cde60b2ebe 100644
--- a/databases/tcl-postgresql/Makefile
+++ b/databases/tcl-postgresql/Makefile
@@ -1,14 +1,16 @@
-# $NetBSD: Makefile,v 1.3 2000/09/01 14:20:17 jwise Exp $
+# $NetBSD: Makefile,v 1.4 2000/12/11 16:43:12 jlam Exp $
+
+.include "../../databases/postgresql/Makefile.common"
PKGNAME= tcl-${DISTNAME}
DEPENDS+= postgresql-${PG_VERS}:../../databases/postgresql
-DEPENDS+= tcl-8.3.2:../../lang/tcl
+DEPENDS+= tcl>=8.3.2:../../lang/tcl
-TCLSH= ${LOCALBASE}/bin/tclsh
-TCL_INCDIR= ${LOCALBASE}/include
-TCL_CONFIGDIR= ${LOCALBASE}/lib
-USE_LIBTOOL=
+EVAL_PREFIX+= TCLDIR=tcl
+TCLSH= ${TCLDIR}/bin/tclsh
+TCL_INCDIR= ${TCLDIR}/include
+TCL_CONFIGDIR= ${TCLDIR}/lib
MAKE_ENV+= INSTALLED_LIBPQ=1
@@ -16,7 +18,7 @@ CONFIGURE_ARGS+= --without-perl --without-odbc
CONFIGURE_ARGS+= --with-tcl \
--with-tclconfig="${TCL_CONFIGDIR}" \
--with-includes="${TCL_INCDIR}" \
- --with-libraries="${LOCALBASE}/lib"
+ --with-libraries="${LOCALBASE}/lib ${TCLDIR}/lib"
CONFIGURE_ENV+= TCLSH="${TCLSH}"
DIRS_TO_BUILD= interfaces/libpgtcl \
@@ -39,4 +41,4 @@ do-install:
${WRKDIR}/${DISTNAME}/doc/man.tar.gz \
`${SED} -e "s/#.*//" ${FILESDIR}/man.tcl`
-.include "../../databases/postgresql/Makefile.common"
+.include "../../mk/bsd.pkg.mk"