diff options
author | jlam <jlam> | 2000-12-11 16:43:11 +0000 |
---|---|---|
committer | jlam <jlam> | 2000-12-11 16:43:11 +0000 |
commit | b17e00bb5f3e1cc2730e6b65406da79f153ed65b (patch) | |
tree | 6180febd30d33ced378dfe79350bf2cb0885861a /databases/tk-postgresql | |
parent | 29a19a6e2907e76591dac856cb5aaf338a988953 (diff) | |
download | pkgsrc-b17e00bb5f3e1cc2730e6b65406da79f153ed65b.tar.gz |
Cosmetic adjustments.
Diffstat (limited to 'databases/tk-postgresql')
-rw-r--r-- | databases/tk-postgresql/Makefile | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/databases/tk-postgresql/Makefile b/databases/tk-postgresql/Makefile index 684cc532b1a..b46a8b9c72d 100644 --- a/databases/tk-postgresql/Makefile +++ b/databases/tk-postgresql/Makefile @@ -1,16 +1,20 @@ -# $NetBSD: Makefile,v 1.3 2000/09/01 14:34:21 jwise Exp $ +# $NetBSD: Makefile,v 1.4 2000/12/11 16:43:13 jlam Exp $ + +.include "../../databases/postgresql/Makefile.common" PKGNAME= tk-${DISTNAME} DEPENDS+= tcl-postgresql-${PG_VERS}:../../databases/tcl-postgresql -DEPENDS+= tk-8.3.2:../../x11/tk +DEPENDS+= tk>=8.3.2:../../x11/tk -TCLSH= ${LOCALBASE}/bin/tclsh -TCL_INCDIR= ${LOCALBASE}/include -TCL_CONFIGDIR= ${LOCALBASE}/lib +EVAL_PREFIX+= TCLDIR=tcl +TCLSH= ${TCLDIR}/bin/tclsh +TCL_INCDIR= ${TCLDIR}/include +TCL_CONFIGDIR= ${TCLDIR}/lib -TK_INCDIR= ${LOCALBASE}/include -TK_CONFIGDIR= ${LOCALBASE}/lib +EVAL_PREFIX+= TKDIR=tk +TK_INCDIR= ${TKDIR}/include +TK_CONFIGDIR= ${TKDIR}/lib USE_X11= # defined @@ -21,7 +25,7 @@ CONFIGURE_ARGS+= --with-tcl \ --with-tclconfig="${TCL_CONFIGDIR}" \ --with-tkconfig="${TK_CONFIGDIR}" \ --with-includes="${TCL_INCDIR} ${TK_INCDIR}" \ - --with-libraries="${LOCALBASE}/lib" + --with-libraries="${LOCALBASE}/lib ${TCLDIR}/lib ${TKDIR}/lib" CONFIGURE_ENV+= TCLSH="${TCLSH}" do-build: @@ -36,4 +40,4 @@ do-install: ${WRKDIR}/${DISTNAME}/doc/man.tar.gz \ `${SED} -e "s/#.*//" ${FILESDIR}/man.tk` -.include "../../databases/postgresql/Makefile.common" +.include "../../mk/bsd.pkg.mk" |