Bug 103955

Summary: databases/p5-BerkeleyDB does not need USE_GCC on 4.x
Product: Ports & Packages Reporter: Jeremy Chadwick <freebsd>
Component: Individual Port(s)Assignee: Cheng-Lung Sung <clsung>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Jeremy Chadwick 2006-10-03 18:10:19 UTC
	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.

Fix: 

Remove the USE_GCC line in the Makefile.
How-To-Repeat: 	n/a
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-10-03 18:10:31 UTC
Responsible Changed
From-To: freebsd-ports-bugs->clsung

Over to maintainer
Comment 2 dfilter service freebsd_committer freebsd_triage 2006-10-04 02:04:43 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"
Comment 3 Cheng-Lung Sung freebsd_committer freebsd_triage 2006-10-04 02:05:25 UTC
State Changed
From-To: open->closed

Committed. Thank You.