summaryrefslogtreecommitdiff
path: root/databases/tcl-postgresql
diff options
context:
space:
mode:
authorjlam <jlam>2001-06-21 21:40:07 +0000
committerjlam <jlam>2001-06-21 21:40:07 +0000
commitffa53fc167d4b425f9047795c66fbaf1a15b3bf4 (patch)
treee01fd8e8e9be85545cfedf67fe95fc5c2344b8ea /databases/tcl-postgresql
parentd97fb8504de47a8cf966ff828fc7747ce8e2f6ef (diff)
downloadpkgsrc-ffa53fc167d4b425f9047795c66fbaf1a15b3bf4.tar.gz
Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY.
Diffstat (limited to 'databases/tcl-postgresql')
-rw-r--r--databases/tcl-postgresql/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/databases/tcl-postgresql/Makefile b/databases/tcl-postgresql/Makefile
index 8ae4fbfa451..b4e955a4e7f 100644
--- a/databases/tcl-postgresql/Makefile
+++ b/databases/tcl-postgresql/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2001/05/24 03:02:54 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2001/06/21 21:40:09 jlam Exp $
.include "../../databases/postgresql/Makefile.common"
.include "../../databases/postgresql/Makefile.ssl"
@@ -7,19 +7,18 @@ PKGNAME= tcl-postgresql-${PG_VERS}
PG_PKG_VERS= # empty
COMMENT= Tcl interface to PostgreSQL
-DEPENDS+= postgresql-lib>=${PG_BASE_VERS}:../../databases/postgresql-lib
-DEPENDS+= tcl>=8.3.2nb2:../../lang/tcl
+USE_BUILDLINK_ONLY= # defined
+POSTGRESQL_LIB_REQD= ${PG_BASE_VERS}
-TCLSH= ${LOCALBASE}/bin/tclsh
-TCL_CONFIGDIR= ${LOCALBASE}/lib
+.include "../../databases/postgresql-lib/buildlink.mk"
+.include "../../lang/tcl/buildlink.mk"
MAKE_ENV+= INSTALLED_LIBPQ=1
CONFIGURE_ARGS+= --with-tcl
-CONFIGURE_ARGS+= --with-tclconfig="${TCL_CONFIGDIR}"
-CONFIGURE_ARGS+= --with-includes="${LOCALBASE}/include"
-CONFIGURE_ARGS+= --with-libraries="${LOCALBASE}/lib"
+CONFIGURE_ARGS+= --with-tclconfig="${BUILDLINK_DIR}/lib"
CONFIGURE_ENV+= TCLSH="${TCLSH}"
+TCLSH= ${LOCALBASE}/bin/tclsh
DIRS_TO_BUILD= src/interfaces/libpgtcl src/bin/pgtclsh