diff options
author | jlam <jlam> | 2001-06-21 21:40:07 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-06-21 21:40:07 +0000 |
commit | ffa53fc167d4b425f9047795c66fbaf1a15b3bf4 (patch) | |
tree | e01fd8e8e9be85545cfedf67fe95fc5c2344b8ea /databases/postgresql-pltcl | |
parent | d97fb8504de47a8cf966ff828fc7747ce8e2f6ef (diff) | |
download | pkgsrc-ffa53fc167d4b425f9047795c66fbaf1a15b3bf4.tar.gz |
Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY.
Diffstat (limited to 'databases/postgresql-pltcl')
-rw-r--r-- | databases/postgresql-pltcl/Makefile | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/databases/postgresql-pltcl/Makefile b/databases/postgresql-pltcl/Makefile index 4fd0cd645a4..49c05d37807 100644 --- a/databases/postgresql-pltcl/Makefile +++ b/databases/postgresql-pltcl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2001/05/14 14:49:38 jlam Exp $ +# $NetBSD: Makefile,v 1.2 2001/06/21 21:40:08 jlam Exp $ .include "../../databases/postgresql/Makefile.common" .include "../../databases/postgresql/Makefile.ssl" @@ -7,17 +7,18 @@ PKGNAME= postgresql-pltcl-${PG_VERS} PG_PKG_VERS= # empty COMMENT= PL/Tcl procedural language for the PostgreSQL backend -DEPENDS+= postgresql-server>=${PG_BASE_VERS}:../../databases/postgresql-server -DEPENDS+= tcl>=8.3.2:../../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" + +DEPENDS+= postgresql-server>=${PG_BASE_VERS}:../../databases/postgresql-server 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/pl/tcl |