From roberto@dublino.obicon.it  Sun Dec 21 08:23:51 2003
Return-Path: <roberto@dublino.obicon.it>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5526C16A4CF
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 21 Dec 2003 08:23:51 -0800 (PST)
Received: from dublino.obicon.it (adsl-27-132.38-151.net24.it [151.38.132.27])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4B56E43D1F
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 21 Dec 2003 08:23:49 -0800 (PST)
	(envelope-from roberto@dublino.obicon.it)
Received: from dublino.obicon.it (localhost.obicon.it [127.0.0.1])
	by dublino.obicon.it (8.12.10/8.12.10) with ESMTP id hBLGNl2v010031
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 21 Dec 2003 17:23:47 +0100 (CET)
	(envelope-from roberto@dublino.obicon.it)
Received: (from roberto@localhost)
	by dublino.obicon.it (8.12.10/8.12.10/Submit) id hBLGNkD5010030;
	Sun, 21 Dec 2003 17:23:46 +0100 (CET)
	(envelope-from roberto)
Message-Id: <200312211623.hBLGNkD5010030@dublino.obicon.it>
Date: Sun, 21 Dec 2003 17:23:46 +0100 (CET)
From: Roberto Grassi <r.grassi@obicon.it>
Reply-To: Roberto Grassi <r.grassi@obicon.it>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: New port
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         60473
>Category:       ports
>Synopsis:       New port databases/db3-tcl
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pav
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 21 08:30:16 PST 2003
>Closed-Date:    Tue Jul 06 00:12:56 GMT 2004
>Last-Modified:  Tue Jul 06 00:12:56 GMT 2004
>Originator:     Roberto Grassi
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
FreeBSD dublino.obicon.it 4.9-STABLE FreeBSD 4.9-STABLE #0: Sat Dec 20 12:37:30 CET 2003 root@dublino.obicon.it:/usr/obj/usr/src/sys/dublino i386
>Description:
	New ports - add TCL support to Berkeley DB3 port
>How-To-Repeat:
>Fix:
--- db3-tcl.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	db3-tcl
#	db3-tcl/Makefile
#
echo c - db3-tcl
mkdir -p db3-tcl > /dev/null 2>&1
echo x - db3-tcl/Makefile
sed 's/^X//' >db3-tcl/Makefile << 'END-of-db3-tcl/Makefile'
X# ex:ts=8
X# Ports collection makefile for:  db3-tcl
X# Date created:                   Sun Dec 21, 2003
X# Whom:                           Roberto Grassi (r.grassi@obicon.it)
X#
X# $Id$
X#
X
XMAINTAINER?=	r.grassi@obicon.it
XCOMMENT?=	The Berkeley DB package, revision 3 with TCL support
X
XMASTERDIR=	${.CURDIR}/../db3
X.include "${MASTERDIR}/Makefile"
X
X.if !defined(WITH_TCL_VER)
XWITH_TCL_VER?=	8.3
X.endif
X
XTCLVERSION?=    ${WITH_TCL_VER}
XLIB_DEPENDS+=	tcl${TCLVERSION:S/.//}:${PORTSDIR}/lang/tcl${TCLVERSION:S/.//}
X
X
X.if defined(WITH_TCL_VER)
X.if ${WITH_TCL_VER} == "8.4" || ${WITH_TCL_VER} == "8.3"
XCONFIGURE_ARGS+=--enable-tcl --with-tcl=/usr/local/lib/tcl${WITH_TCL_VER}
X.else
XBROKEN=		"WITH_TCL_VER must be 8.4 or 8.3"
X.endif
X.endif
END-of-db3-tcl/Makefile
exit
--- db3-tcl.shar ends here ---


>Release-Note:
>Audit-Trail:

From: Mark Linimon <linimon@lonesome.com>
To: freebsd-gnats-submit@FreeBSD.org, r.grassi@obicon.it
Cc:  
Subject: Re: ports/60473: New port databases/db3-tcl
Date: Sun, 21 Dec 2003 12:14:33 -0600

 To be helpful to any interested new-ports committers, I've
 taken the liberty of adding the category/portname string to
 this PR's Synopsis.  Whenever a posting just says "new port"
 it is very likely to find itself lost among all the other PRs.
 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sun Dec 28 23:18:52 PST 2003 
State-Changed-Why:  
please ignore for the moment. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=60473 
State-Changed-From-To: feedback->open 
State-Changed-By: edwin 
State-Changed-When: Sun Dec 28 23:19:22 PST 2003 
State-Changed-Why:  
reopen PR to proper status 

http://www.freebsd.org/cgi/query-pr.cgi?pr=60473 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sun Dec 28 23:43:01 PST 2003 
State-Changed-Why:  
Does't really compile properly: 

rm -f .libs/tcl_compat.lo 
cc -c -I. -I./../dist/../include -I./../dist/../include_auto -D_THREAD_SAFE -O -pipe -march=pentiumpro ./../dist/../tcl/tcl_compat.c  -fPIC -DPIC -o tcl_compat.o 
./../dist/../tcl/tcl_compat.c:20: tcl.h: No such file or directory 
In file included from ./../dist/../tcl/tcl_compat.c:26: 
../dist/../include/tcl_db.h:79: syntax error before `Tcl_Interp' 
[..] 
../dist/../include_auto/tcl_ext.h:63: syntax error before `*' 
./../dist/../tcl/tcl_compat.c:31: syntax error before `*' 
./../dist/../tcl/tcl_compat.c:41: syntax error before `Tcl_Interp' 
./../dist/../tcl/tcl_compat.c:43: syntax error before `*' 
*** Error code 1 

Stop in /usr/home/edwin/cvs/ports/NEW/db3-tcl/work/db-3.3.11/build_unix. 
*** Error code 1 

This is both on -STABLE as -CURRENT. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=60473 

From: "matthias.andree" <matthias.andree@gmx.de>
To: freebsd-gnats-submit@FreeBSD.org, r.grassi@obicon.it
Cc:  
Subject: Re: ports/60473: New port databases/db3-tcl
Date: Wed, 07 Jan 2004 04:38:49 +0100

 Should the master db3 port get a WITH_TCL option instead?
 
 -- 
 Matthias Andree
 
 Encrypt your mail: my GnuPG key ID is 0x052E7D95
 

From: Roberto Grassi <r.grassi@obicon.it>
To: "matthias.andree" <matthias.andree@gmx.de>,
	freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/60473: New port databases/db3-tcl
Date: Mon, 02 Feb 2004 00:42:08 +0100

 --=====================_29540527==_
 Content-Type: text/plain; charset="us-ascii"; format=flowed
 
 Yes, you are right
 I modified your Makefile adding the evaluation of the WITH_TCL_VER make
 variable. This method is used in other packages, so it's the best, no
 need to create a new package.
 Feel free to include the diffs on the db3 package Makefile and close
 this PR.
 
 Roberto
 
 At 04.38 07/01/2004, matthias.andree wrote:
 >Should the master db3 port get a WITH_TCL option instead?
 >
 >--
 >Matthias Andree
 >
 >Encrypt your mail: my GnuPG key ID is 0x052E7D95
 
    
 --=====================_29540527==_
 Content-Type: application/octet-stream; name="db3-Makefile-withTcl"
 Content-Transfer-Encoding: base64
 Content-Disposition: attachment; filename="db3-Makefile-withTcl"
 
 IyBwb3J0cyBjb2xsZWN0aW9uIG1ha2VmaWxlIGZvcjoJQmVya2VsZXkgREIgdjMKIyBEYXRlIGNy
 ZWF0ZWQ6CQkJCTE2IEF1Z3VzdCAyMDAwCiMgV2hvbToJCQkJCVNlcmdleSBPc29raW4gYWthIG9a
 WiA8b3NhQEZyZWVCU0Qub3JnLnJ1PgojCiMgJEZyZWVCU0Q6IHBvcnRzL2RhdGFiYXNlcy9kYjMv
 TWFrZWZpbGUsdiAxLjUzIDIwMDQvMDEvMTUgMTM6MjU6MzEga3Jpb24gRXhwICQKIwoKUE9SVE5B
 TUU9CWRiMwpQT1JUVkVSU0lPTj0JMy4zLjExClBPUlRSRVZJU0lPTj0JMQpQT1JURVBPQ0g/PQkx
 CkNBVEVHT1JJRVM9CWRhdGFiYXNlcwpNQVNURVJfU0lURVM9CWh0dHA6Ly93d3cuc2xlZXB5Y2F0
 LmNvbS91cGRhdGUvc25hcHNob3QvCkRJU1ROQU1FPQlkYi0ke1BP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
 --=====================_29540527==_--
 
 
Responsible-Changed-From-To: freebsd-ports-bugs->pav 
Responsible-Changed-By: pav 
Responsible-Changed-When: Sun Mar 28 06:36:14 PST 2004 
Responsible-Changed-Why:  
Handle 

http://www.freebsd.org/cgi/query-pr.cgi?pr=60473 

From: Pav Lucistnik <pav@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org, r.grassi@obicon.it,
	matthias.andree@gmx.de
Cc:  
Subject: Re: ports/60473: New port databases/db3-tcl
Date: Sun, 28 Mar 2004 16:36:08 +0200

 Here is an unified diff of latest followup on this PR.
 Maintainer of databases/db3, do you approve this change?
 
 --- /usr/ports/databases/db3/Makefile	Sun Mar 14 17:55:13 2004
 +++ Makefile	Sun Mar 28 16:34:42 2004
 @@ -43,11 +43,24 @@
  	${RMDIR} ${DOCSDIR}/ref/splash
  .endif
  
 +.if defined(WITH_TCL_VER)
 +.if ${WITH_TCL_VER} == 8.4 || ${WITH_TCL_VER} == 8.3
 +CONFIGURE_ARGS+=	--enable-tcl --with-tcl=/usr/local/lib/tcl${WITH_TCL_VER}
 +.else
 +BROKEN=  "WITH_TCL_VER must be 8.4 or 8.3"
 +.endif
 +.endif
 +
  pre-patch:
  	@${REINPLACE_CMD} -Ee 's|-l?pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
  
  post-patch:
  	@${CHMOD} 755 ${WRKSRC}/${CONFIGURE_SCRIPT}
  	@${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/../dist/configure
 +
 +post-configure:
 +.if defined(WITH_TCL_VER)
 +	@${REINPLACE_CMD} -e "s|TCFLAGS=.*|TCFLAGS=-I/usr/local/include/tcl${WITH_TCL_VER} -L/usr/local/lib/tcl${WITH_TCL_VER}|g" ${WRKSRC}/Makefile
 +.endif
  
  .include <bsd.port.mk>
 
 
 -- 
 Pav Lucistnik <pav@oook.cz>
               <pav@FreeBSD.org>
 
 You have acquired a scroll entitled 'irk gleknow mizk' (n).
 This is an IBM Manual scroll.
 You are permanently confused.

From: Matthias Andree <matthias.andree@gmx.de>
To: Pav Lucistnik <pav@FreeBSD.org>
Cc: freebsd-gnats-submit@FreeBSD.org, r.grassi@obicon.it,
	matthias.andree@gmx.de
Subject: Re: ports/60473: New port databases/db3-tcl
Date: Mon, 29 Mar 2004 01:24:59 +0200

 WRT to approval/disapproval, I'll follow up within a week.
 
 One question up front:
 is there a reason this is added to db3 rather than db42?
 I haven't mentioned this earlier but db3 has been discontinued by the
 upstream, so all we should be doing is keeping the old version going
 in order to keep the ports that support only db3 (and not db41 or db42)
 happy.
 
 -- 
 Matthias Andree

From: Pav Lucistnik <pav@FreeBSD.org>
To: Matthias Andree <matthias.andree@gmx.de>
Cc: freebsd-gnats-submit@FreeBSD.org, r.grassi@obicon.it
Subject: Re: ports/60473: New port databases/db3-tcl
Date: Mon, 29 Mar 2004 14:46:39 +0200

 V po, 29. 03. 2004 v 01:24, Matthias Andree p=ED=B9e:
 
 > One question up front:
 > is there a reason this is added to db3 rather than db42?
 > I haven't mentioned this earlier but db3 has been discontinued by the
 > upstream, so all we should be doing is keeping the old version going
 > in order to keep the ports that support only db3 (and not db41 or db42)
 > happy.
 
 I think it's given the age of this PR, back in the days when it was
 files, db3 was the latest and greatest. If you could prepare similar
 update for db42 that would be nice, too.
 
 --=20
 Pav Lucistnik <pav@oook.cz>
               <pav@FreeBSD.org>
 
 What do we know about love? Love is like a pear.  Pear is sweet and havea
 specific shape. Try to exactly define the shape of a pear.
   -- Marigold: 50 Years Of Poetry

From: Roberto Grassi <r.grassi@obicon.it>
To: pav@FreeBSD.org, Matthias Andree <matthias.andree@gmx.de>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/60473: New port databases/db3-tcl
Date: Mon, 26 Apr 2004 22:15:42 +0200

 I tested that the following rows added to che Makefile
 work fine for db4 and db42 (the same of db3 diff).
 Roberto
 
 --------------------- cut here -------------------
 .if defined(WITH_TCL_VER)
 .if ${WITH_TCL_VER} =3D=3D 8.4 || ${WITH_TCL_VER} =3D=3D 8.3
 CONFIGURE_ARGS+=3D--enable-tcl --with-tcl=3D/usr/local/lib/tcl${WITH_TCL_VER=
 }
 .else
 BROKEN=3D  "WITH_TCL_VER must be 8.4 or 8.3"
 .endif
 .endif
 
 post-configure:
 .if defined(WITH_TCL_VER)
          @${REINPLACE_CMD} -e=20
 "s|TCFLAGS=3D.*|TCFLAGS=3D-I/usr/local/include/tcl${WITH_TCL_VER}=20
 -L/usr/local/lib/tcl${WITH_TCL_VER}|g" ${WRKSRC}/Makefile
 .endif
 --------------------- cut here -------------------
 
 At 14.46 29/03/2004, Pav Lucistnik wrote:
 >V po, 29. 03. 2004 v 01:24, Matthias Andree p=ED=B9e:
 >
 > > One question up front:
 > > is there a reason this is added to db3 rather than db42?
 > > I haven't mentioned this earlier but db3 has been discontinued by the
 > > upstream, so all we should be doing is keeping the old version going
 > > in order to keep the ports that support only db3 (and not db41 or db42)
 > > happy.
 >
 >I think it's given the age of this PR, back in the days when it was
 >files, db3 was the latest and greatest. If you could prepare similar
 >update for db42 that would be nice, too.
 >
 >--
 >Pav Lucistnik <pav@oook.cz>
 >               <pav@FreeBSD.org>
 >
 >What do we know about love? Love is like a pear.  Pear is sweet and havea
 >specific shape. Try to exactly define the shape of a pear.
 >   -- Marigold: 50 Years Of Poetry
 
 --
 Roberto Grassi
 Obicon Srl
 tel. 0362 569428
 cell. 335 7627279 =20
 
 

From: Pav Lucistnik <pav@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org, matthias.andree@gmx.de
Cc:  
Subject: Re: ports/60473: New port databases/db3-tcl
Date: Mon, 05 Jul 2004 21:08:51 +0200

 So what's the status of this old PR? Is maintainer fine with last
 submitter's patch, or should this be reworked further, or should this PR
 be just closed as obsolete?
 
 -- 
 Pav Lucistnik <pav@oook.cz>
               <pav@FreeBSD.org>
 
 Eat when you are hungry, sleep when you are tired.
 Chase butterflies when you want some fun.

From: Matthias Andree <matthias.andree@gmx.de>
To: Pav Lucistnik <pav@FreeBSD.org>
Cc: freebsd-gnats-submit@FreeBSD.org, matthias.andree@gmx.de
Subject: Re: ports/60473: New port databases/db3-tcl
Date: Mon, 5 Jul 2004 23:50:14 +0200

 We'll need to fix the pkg-plist. I'm working on it.

From: Matthias Andree <matthias.andree@gmx.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc: Matthias Andree <matthias.andree@gmx.de>, pav@freebsd.org
Subject: ports/60473: [MAINTAINER] databases/db3: support WITH_TCL_VER
Date: Tue, 06 Jul 2004 00:16:36 +0200

 >Submitter-Id:	current-users
 >Originator:	Matthias Andree
 >Organization:	
 >Confidential:	no 
 >Synopsis:	ports/60473: [MAINTAINER] databases/db3: support WITH_TCL_VER
 >Severity:	non-critical
 >Priority:	low
 >Category:	ports 
 >Class:		maintainer-update
 >Release:	FreeBSD 4.10-RELEASE-p2 i386
 >Environment:
 System: FreeBSD libertas.emma.line.org 4.10-RELEASE-p2 FreeBSD 4.10-RELEASE-p2 #2: Thu Jul  1 00:06:57 CEST
 >Description:
 Add Tcl support based on Roberto Grassi's work.
 Differences from previous patch:
 - bump PORTREVISION
 - track changes in pkg-plist
 - do not install .la file
 - use ${LOCALBASE} rather than /usr/local
 
 Note I have only tested Tcl 8.4 so try testing with Tcl 8.3 if you must ;)
 
 Generated with FreeBSD Port Tools 0.50
 >How-To-Repeat:
 >Fix:
 
 --- db3-3.3.11_2,1.patch begins here ---
 diff -ruN --exclude=CVS /usr/ports/databases/db3/Makefile /usr/home/emma/ports/databases/db3/Makefile
 --- /usr/ports/databases/db3/Makefile	Mon May 10 11:46:16 2004
 +++ /usr/home/emma/ports/databases/db3/Makefile	Tue Jul  6 00:13:17 2004
 @@ -7,7 +7,7 @@
  
  PORTNAME=	db3
  PORTVERSION=	3.3.11
 -PORTREVISION=	1
 +PORTREVISION=	2
  PORTEPOCH?=	1
  CATEGORIES=	databases
  #MASTER_SITES=	http://www.sleepycat.com/update/snapshot/
 @@ -44,11 +44,30 @@
  	${RMDIR} ${DOCSDIR}/ref/splash
  .endif
  
 +.if defined(WITH_TCL_VER)
 +.if ${WITH_TCL_VER} == 8.4 || ${WITH_TCL_VER} == 8.3
 +CONFIGURE_ARGS+=	--enable-tcl --with-tcl=${LOCALBASE}/lib/tcl${WITH_TCL_VER}
 +PLIST_SUB=	WITHTCL=""
 +.else
 +BROKEN=	"WITH_TCL_VER must be 8.4 or 8.3"
 +.endif
 +.else
 +PLIST_SUB=	WITHTCL="@comment "
 +.endif
 +
  pre-patch:
  	@${REINPLACE_CMD} -Ee 's|-l?pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
  
  post-patch:
  	@${CHMOD} 755 ${WRKSRC}/${CONFIGURE_SCRIPT}
  	@${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/../dist/configure
 +
 +post-install:
 +	${RM} -f ${PREFIX}/lib/libdb_tcl-3.3.la
 +
 +post-configure:
 +.if defined(WITH_TCL_VER)
 +	@${REINPLACE_CMD} -e "s|TCFLAGS=.*|TCFLAGS=-I${LOCALBASE}/include/tcl${WITH_TCL_VER} -L${LOCALBASE}/lib/tcl${WITH_TCL_VER}|g" ${WRKSRC}/Makefile
 +.endif
  
  .include <bsd.port.mk>
 diff -ruN --exclude=CVS /usr/ports/databases/db3/pkg-plist /usr/home/emma/ports/databases/db3/pkg-plist
 --- /usr/ports/databases/db3/pkg-plist	Fri Jan 16 12:36:27 2004
 +++ /usr/home/emma/ports/databases/db3/pkg-plist	Mon Jul  5 23:45:18 2004
 @@ -20,4 +20,9 @@
  lib/libdb3_cxx.a
  lib/libdb3_cxx.so
  lib/libdb3_cxx.so.3
 +%%WITHTCL%%lib/libdb_tcl-3.3.a
 +%%WITHTCL%%lib/libdb_tcl-3.3.so
 +%%WITHTCL%%lib/libdb_tcl-3.3.so.3
 +%%WITHTCL%%lib/libdb_tcl.so
 +%%WITHTCL%%lib/libdb_tcl-3.so
  @dirrm include/db3
 --- db3-3.3.11_2,1.patch ends here ---
 
State-Changed-From-To: feedback->closed 
State-Changed-By: pav 
State-Changed-When: Tue Jul 6 00:12:49 GMT 2004 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=60473 
>Unformatted:
