diff options
author | Sean Chittenden <seanc@FreeBSD.org> | 2003-01-04 23:53:37 +0000 |
---|---|---|
committer | Sean Chittenden <seanc@FreeBSD.org> | 2003-01-04 23:53:37 +0000 |
commit | 296812257fa654833295dee4024ee7812b6ecf80 (patch) | |
tree | cd2210191c5af7bd4b43edec5d13ddbd4a9b8131 /databases/postgresql-tcltk/Makefile | |
parent | Update PostgreSQL ODBC to 7.2.5 (version number not the same as the main (diff) |
Update PostgreSQL tcl/tk to 7.3.1. pgaccess is no longer in of this port.
PR: ports/45885
Submitted by: Palle Girgensohn <girgen@pingpong.net>
Notes
Notes:
svn path=/head/; revision=72540
Diffstat (limited to 'databases/postgresql-tcltk/Makefile')
-rw-r--r-- | databases/postgresql-tcltk/Makefile | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/databases/postgresql-tcltk/Makefile b/databases/postgresql-tcltk/Makefile index 714339482ee2..7938ceb366da 100644 --- a/databases/postgresql-tcltk/Makefile +++ b/databases/postgresql-tcltk/Makefile @@ -8,16 +8,18 @@ PORTNAME= postgresql-tcltk CATEGORIES= databases tcl83 tk83 -MAINTAINER= girgen@partitur.se +MAINTAINER= girgen@pingpong.net +POSTGRESQL_PORT?= databases/postgresql7 POSTGRESQL_SUBPORT=YES -.include <${.CURDIR}/../postgresql7/Makefile> +.include <${.CURDIR}/../../${POSTGRESQL_PORT}/Makefile> LIB_DEPENDS= tcl${TCLVERSION:S/.//}:${PORTSDIR}/lang/tcl${TCLVERSION:S/.//} \ - pq:${PORTSDIR}/databases/postgresql7 + pq:${PORTSDIR}/${POSTGRESQL_PORT} +RUN_DEPENDS= postgres:${PORTSDIR}/${POSTGRESQL_PORT} -# you can use "make TCLVERSION=8.4" or similar for your favourite tcl version -TCLVERSION?= 8.3 +# you can use "make TCLVERSION=8.3" or similar for your favourite tcl version +TCLVERSION?= 8.4 PLIST_SUB+= TCLVERSION=${TCLVERSION} CONFIGURE_ARGS= --with-tcl \ --with-tclconfig=${TCLCONFIG} \ @@ -33,6 +35,13 @@ CONFIGURE_ENV+= LIBS="-lm -L${LOCALBASE}/lib -ltcl${TCLVERSION:S/.//}" \ WITHOUT_TK= yes .endif +CONFIGURE_ENV+= LIBS="-lm -L${LOCALBASE}/lib -ltcl${TCLVERSION:S/.//}" \ + CFLAGS=-DPGTCL_USE_TCLOBJ + +.if defined(WITHOUT_X11) +WITHOUT_TK= yes +.endif + .if defined(WITHOUT_TK) CONFIGURE_ARGS+= --without-tk INCDIRS= ${TCL_INCDIR} @@ -50,16 +59,10 @@ PLIST_SUB+= TK="" do-build: @ cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${GMAKE} -C src/bin/pgtclsh @ cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${GMAKE} -C src/interfaces/libpgtcl -.if !defined(WITHOUT_TK) - @ cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${GMAKE} -C src/bin/pgaccess -.endif do-install: @ cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${GMAKE} -C src/bin/pgtclsh install @ cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${GMAKE} -C src/interfaces/libpgtcl install -.if !defined(WITHOUT_TK) - @ cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${GMAKE} -C src/bin/pgaccess install -.endif # Preparing a loadable TCL-package (pkgIndex.tcl) @${MKDIR} ${PREFIX}/lib/tcl${TCLVERSION}/Pgtcl1.3 @${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/pkgIndex.tcl.in \ |