From jdc@koitsu.dyndns.org  Tue Oct  3 17:03:39 2006
Return-Path: <jdc@koitsu.dyndns.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0063616A403
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  3 Oct 2006 17:03:38 +0000 (UTC)
	(envelope-from jdc@koitsu.dyndns.org)
Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [63.240.77.83])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 900D943D45
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  3 Oct 2006 17:03:38 +0000 (GMT)
	(envelope-from jdc@koitsu.dyndns.org)
Received: from icarus.home.lan (c-67-174-220-97.hsd1.ca.comcast.net[67.174.220.97])
          by comcast.net (sccrmhc13) with ESMTP
          id <200610031703360130047vj2e>; Tue, 3 Oct 2006 17:03:36 +0000
Received: by icarus.home.lan (Postfix, from userid 1000)
	id C58D21FA01A; Tue,  3 Oct 2006 10:03:35 -0700 (PDT)
Message-Id: <20061003170335.C58D21FA01A@icarus.home.lan>
Date: Tue,  3 Oct 2006 10:03:35 -0700 (PDT)
From: Jeremy Chadwick <freebsd@jdc.parodius.com>
Reply-To: Jeremy Chadwick <freebsd@jdc.parodius.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: databases/p5-BerkeleyDB does not need USE_GCC on 4.x
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         103955
>Category:       ports
>Synopsis:       databases/p5-BerkeleyDB does not need USE_GCC on 4.x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    clsung
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 03 17:10:19 GMT 2006
>Closed-Date:    Wed Oct 04 01:05:26 GMT 2006
>Last-Modified:  Wed Oct  4 01:10:15 GMT 2006
>Originator:     Jeremy Chadwick
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
Parodius Networking
>Environment:
System: FreeBSD icarus.home.lan 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Mon Oct 2 10:20:50 PDT 2006 root@icarus.home.lan:/usr/obj/usr/src/sys/ICARUS i386
>Description:
	I went to build mail/postgrey this afternoon on our 4.11-STABLE
	box, and found that gcc-3.2.3 was being included as a dependancy.
	I thought, "Why?", since Sleepycat/Oracle DB4.1 doesn't require
	this.  Lo and behold, databases/p5-BerkeleyDB was the culprit.

	I then came across this unjustified PR:

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

	Possibly the port upgrade to 0.30 fixed the problem the original
	PR reported, but as of right now, I have no problems building
	this port using the base system gcc (2.95.2).  Here's proof:

===>   Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===>   Registering installation for db41-4.1.25_3
===>   Returning to build of p5-BerkeleyDB-0.30
===>  Configuring for p5-BerkeleyDB-0.30
Parsing config.in...
Looks Good.
Checking if your kit is complete...
Looks good
Writing Makefile for BerkeleyDB
===>  Building for p5-BerkeleyDB-0.30
cp BerkeleyDB.pm blib/lib/BerkeleyDB.pm
AutoSplitting blib/lib/BerkeleyDB.pm (blib/lib/auto/BerkeleyDB)
cp BerkeleyDB/Hash.pm blib/lib/BerkeleyDB/Hash.pm
cp BerkeleyDB.pod blib/lib/BerkeleyDB.pod
cp BerkeleyDB/Btree.pm blib/lib/BerkeleyDB/Btree.pm
/usr/local/bin/perl5.8.8 /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp -noprototypes -typemap /usr/local/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap  BerkeleyDB.xs > BerkeleyDB.xsc && mv BerkeleyDB.xsc BerkeleyDB.c
cc -c  -I/usr/local/include/db41  -O -pipe -O -pipe    -DVERSION=\"0.30\"  -DXS_VERSION=\"0.30\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.8/mach/CORE"   BerkeleyDB.c
Running Mkbootstrap for BerkeleyDB ()
chmod 644 BerkeleyDB.bs
rm -f blib/arch/auto/BerkeleyDB/BerkeleyDB.so
LD_RUN_PATH="/usr/local/lib" cc  -shared  -L/usr/local/lib BerkeleyDB.o  -o blib/arch/auto/BerkeleyDB/BerkeleyDB.so       -L/usr/local/lib -ldb41
chmod 755 blib/arch/auto/BerkeleyDB/BerkeleyDB.so
cp BerkeleyDB.bs blib/arch/auto/BerkeleyDB/BerkeleyDB.bs
chmod 644 blib/arch/auto/BerkeleyDB/BerkeleyDB.bs
Manifying blib/man3/BerkeleyDB.3
pentarou# pwd
/usr/ports/databases/p5-BerkeleyDB
pentarou# make clean
===>  Cleaning for perl-5.8.8
===>  Cleaning for db41-4.1.25_3
===>  Cleaning for p5-BerkeleyDB-0.30
pentarou# uname -a
FreeBSD pentarou.parodius.com 4.11-STABLE FreeBSD 4.11-STABLE #0: Sun May 28 12:02:42 PDT 2006     root@pentarou.parodius.com:/usr/obj/usr/src/sys/PENTAROU  i386

	Therefore, please remove USE_GCC from the Makefile, as it's
	an unnecessary dependancy.
>How-To-Repeat:
	n/a
>Fix:
	Remove the USE_GCC line in the Makefile.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->clsung 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Oct 3 17:10:31 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=103955 
State-Changed-From-To: open->closed 
State-Changed-By: clsung 
State-Changed-When: Wed Oct 4 01:05:25 UTC 2006 
State-Changed-Why:  
Committed. Thank You. 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/103955: commit references a PR
Date: Wed,  4 Oct 2006 01:04:43 +0000 (UTC)

 clsung      2006-10-04 01:04:35 UTC
 
   FreeBSD ports repository
 
   Modified files:
     databases/p5-BerkeleyDB Makefile 
   Log:
   - This version (0.30) builds in gcc 2.95.2
   
   PR:             ports/103955
   Submitted by:   Jeremy Chadwick <freebsd_AT_jdc dot parodius dot com>
   
   Revision  Changes    Path
   1.30      +0 -1      ports/databases/p5-BerkeleyDB/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
