From owner-freebsd-ports Sun Aug 25 15:50:18 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E222737B405 for ; Sun, 25 Aug 2002 15:50:06 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24E6643E65 for ; Sun, 25 Aug 2002 15:50:06 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7PMo5JU090431 for ; Sun, 25 Aug 2002 15:50:05 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7PMo5rd090430; Sun, 25 Aug 2002 15:50:05 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8FFB937B400 for ; Sun, 25 Aug 2002 15:47:50 -0700 (PDT) Received: from palle.girgensohn.se (c213-89-136-93.cm-upc.chello.se [213.89.136.93]) by mx1.FreeBSD.org (Postfix) with ESMTP id 696AE43E6E for ; Sun, 25 Aug 2002 15:47:49 -0700 (PDT) (envelope-from girgen@palle.girgensohn.se) Received: from palle.girgensohn.se (c213-89-136-93.cm-upc.chello.se [213.89.136.93]) by palle.girgensohn.se (8.12.5/8.12.5) with ESMTP id g7PMllit003924 for ; Mon, 26 Aug 2002 00:47:48 +0200 (CEST) (envelope-from girgen@palle.girgensohn.se) Received: (from girgen@localhost) by palle.girgensohn.se (8.12.5/8.12.5/Submit) id g7PMll3p003923; Mon, 26 Aug 2002 00:47:47 +0200 (CEST) Message-Id: <200208252247.g7PMll3p003923@palle.girgensohn.se> Date: Mon, 26 Aug 2002 00:47:47 +0200 (CEST) From: Palle Girgensohn Reply-To: Palle Girgensohn To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/42010: postgresql-tcltk fix for different tcl versions Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 42010 >Category: ports >Synopsis: postgresql-tcltk fix for different tcl versions >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Aug 25 15:50:05 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Palle Girgensohn >Release: FreeBSD 4.5-PRERELEASE i386 >Organization: Partitur >Environment: System: FreeBSD palle.girgensohn.se 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #11: Fri Dec 28 17:22:10 CET 2001 root@palle.girgensohn.se:/usr/obj/usr/src/sys/STORDATAN i386 >Description: Unfortunately, I've lost the mail about this, so I cannot remember who actually sent me this patch. I am deeply sorry! Still, it helps, so please commit. >How-To-Repeat: >Fix: Index: postgresql-tcltk/Makefile =================================================================== RCS file: /home/ncvs/ports/databases/postgresql-tcltk/Makefile,v retrieving revision 1.2 diff -u -r1.2 Makefile --- postgresql-tcltk/Makefile 14 Apr 2002 19:32:57 -0000 1.2 +++ postgresql-tcltk/Makefile 25 Aug 2002 21:41:50 -0000 @@ -26,6 +26,13 @@ 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 + +.if defined(WITHOUT_X11) +WITHOUT_TK= yes +.endif .if defined(WITHOUT_TK) CONFIGURE_ARGS+= --without-tk --- /dev/null Mon Aug 26 00:32:50 2002 +++ postgresql-tcltk/files/patch-libpgtcl Tue Apr 2 21:55:13 2002 @@ -0,0 +1,9 @@ +--- src/interfaces/libpgtcl/Makefile Thu May 10 21:46:33 2001 ++++ src/interfaces/libpgtcl/Makefile Fri Mar 29 05:11:10 2002 +@@ -26,5 +26,5 @@ + # to be referenced separately to keep (broken) linkers happy. (This is + # braindead; users of libpq should not need to know what it depends on.) +-SHLIB_LINK+= $(filter -L%, $(LDFLAGS)) $(filter -lcrypt, $(LIBS)) ++SHLIB_LINK+= $(filter -L%, $(LDFLAGS)) $(filter -lcrypt -L% -ltcl83 -ltcl84, $(LIBS)) + + all: submake all-lib >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message