ports/80916: db43 does not build (with gcc4.0?)

Matthias Andree matthias.andree at gmx.de
Thu Jul 28 21:30:23 UTC 2005


The following reply was made to PR ports/80916; it has been noted by GNATS.

From: Matthias Andree <matthias.andree at gmx.de>
To: bug-followup at FreeBSD.org, kutulu at kutulu.org
Cc: vs at freebsd.org
Subject: Re: ports/80916: db43 does not build (with gcc4.0?)
Date: Thu, 28 Jul 2005 23:26:51 +0200

 Well, I was able to reproduce the problem on FreeBSD 5.4-mumble with gcc
 4.0.2 as of July 2005, and the patch below works for me.
 
 I don't think we should bump the PORTREVISION as this is a build-time
 only problem - either people can compile this, then they don't need an
 update of the port, or they cannot compile this, then they will be
 rebuilding even without PORTREVISION bumped.
 
 --- a/ports/databases/db43/Makefile	Sat May  7 20:26:05 2005
 +++ b/ports/databases/db43/Makefile	Thu Jul 28 22:55:44 2005
 @@ -48,6 +48,9 @@
  pre-configure:
  	${CHMOD} u+w ${WRKSRC}/../dist/configure
  
 +post-configure:
 +	@${REINPLACE_CMD} -e '/^extern  void db_rpc_serverprog/ d;' ${WRKSRC}/db_server.h
 +
  post-install:
  .for i in libdb libdb_cxx
  	${LN} -s -f ${PORTNAME}/${i}-${BDBVER}.so.0 ${PREFIX}/lib
 
 -- 
 Matthias Andree



More information about the freebsd-ports-bugs mailing list