diff options
author | seanc <seanc@FreeBSD.org> | 2003-01-05 07:53:37 +0800 |
---|---|---|
committer | seanc <seanc@FreeBSD.org> | 2003-01-05 07:53:37 +0800 |
commit | a6b2ba12bee7671352a867fecacf682a14ebf6bd (patch) | |
tree | 069231f29a23a675e96e116b83d5e135817c233f /databases/postgresql-tcltk/Makefile | |
parent | 306351b9542fbd982ceecc7ca2f6f3004a1b3ac1 (diff) | |
download | freebsd-ports-gnome-a6b2ba12bee7671352a867fecacf682a14ebf6bd.tar.gz freebsd-ports-gnome-a6b2ba12bee7671352a867fecacf682a14ebf6bd.tar.zst freebsd-ports-gnome-a6b2ba12bee7671352a867fecacf682a14ebf6bd.zip |
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>
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 \ |