diff options
author | linimon <linimon@FreeBSD.org> | 2003-12-29 09:34:02 +0800 |
---|---|---|
committer | linimon <linimon@FreeBSD.org> | 2003-12-29 09:34:02 +0800 |
commit | 0aa069f66362495b1c71d351f4e8dccedafbc5bc (patch) | |
tree | 41b74b65731794a8398d2ca2b33da732826c5dcd | |
parent | 18831cfa99e6270371063d3f39b9cf472bd7e7ea (diff) | |
download | freebsd-ports-gnome-0aa069f66362495b1c71d351f4e8dccedafbc5bc.tar.gz freebsd-ports-gnome-0aa069f66362495b1c71d351f4e8dccedafbc5bc.tar.zst freebsd-ports-gnome-0aa069f66362495b1c71d351f4e8dccedafbc5bc.zip |
Fix build on -current. (Note: the maintainer/submitter claimed that it
was also broken on -stable, although I did not duplicate the problem).
PR: ports/60427
Submitted by: Saito Tomokatsu <saito@a2z.co.jp> (maintainer)
-rw-r--r-- | japanese/postgresql-tcltk/Makefile | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/japanese/postgresql-tcltk/Makefile b/japanese/postgresql-tcltk/Makefile index 3500004dbb57..a2f581e822bd 100644 --- a/japanese/postgresql-tcltk/Makefile +++ b/japanese/postgresql-tcltk/Makefile @@ -1,4 +1,4 @@ -# New ports collection makefile for: PostgreSQL +# New ports collection makefile for: PostgreSQL tcltk # Date created: 7 Jun 2000 # Whom: Tomokatsu Saito <saito@a2z.co.jp> # @@ -11,11 +11,14 @@ CATEGORIES= japanese databases MAINTAINER= saito@a2z.co.jp COMMENT= An TCL interface to the database PostgreSQL, including a tk GUI +POSTGRESQL_PORT?= databases/postgresql7 POSTGRESQL_SUBPORT=YES .include <${.CURDIR}/../../databases/postgresql7/Makefile> LIB_DEPENDS= tcl80jp.1:${PORTSDIR}/japanese/tcl80 \ - pq:${PORTSDIR}/databases/postgresql7 + pq:${PORTSDIR}/databases/postgresql7 \ + tcl80jp.1:${PORTSDIR}/japanese/tcl80 \ + tk80jp.1:${PORTSDIR}/japanese/tk80 TCLVERSION?= 8.0jp PLIST_SUB+= TCLVERSION=${TCLVERSION} @@ -26,16 +29,17 @@ CONFIGURE_ARGS= --with-tcl \ TCL_INCDIR= ${LOCALBASE}/include/tcl${TCLVERSION} TCLCONFIG= ${LOCALBASE}/lib/tcl${TCLVERSION} MAKE_ENV+= TCL_INCDIR=${TCL_INCDIR} - +CONFIGURE_ENV+= LIBS="-lm -L${LOCALBASE}/lib -ltcl${TCLVERSION:S/.//}" \ + CFLAGS=-DPGTCL_USE_TCLOBJ CONFIGURE_ARGS+= --with-tkconfig="${TKCONFIG}" TK_INCDIR= ${LOCALBASE}/include/tk${TCLVERSION} -CONFIGURE_ENV+= WISH=${LOCALBASE}/bin/wish${TCLVERSION} -LIB_DEPENDS+= tcl80jp:${PORTSDIR}/japanese/tcl80 \ - tk80jp:${PORTSDIR}/japanese/tk80 TKCONFIG= ${LOCALBASE}/lib/tk${TCLVERSION} INCDIRS= ${TCL_INCDIR}:${TK_INCDIR} PLIST_SUB+= TK="" +pre-build: + cd ${WRKSRC}/src/port; ${GMAKE} + do-build: @ cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${GMAKE} -C src/bin/pgtclsh @ cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${GMAKE} -C src/interfaces/libpgtcl |