From pgollucci@frieza.p6m7g8.net  Tue Jun  9 03:16:49 2009
Return-Path: <pgollucci@frieza.p6m7g8.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 08A6B106566C
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  9 Jun 2009 03:16:49 +0000 (UTC)
	(envelope-from pgollucci@frieza.p6m7g8.net)
Received: from frieza.p6m7g8.net (static-76-161-175-34.dsl.cavtel.net [76.161.175.34])
	by mx1.freebsd.org (Postfix) with ESMTP id BBD3C8FC15
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  9 Jun 2009 03:16:48 +0000 (UTC)
	(envelope-from pgollucci@frieza.p6m7g8.net)
Received: from frieza.p6m7g8.net (localhost [127.0.0.1])
	by frieza.p6m7g8.net (8.14.3/8.14.3) with ESMTP id n593GChd075517;
	Mon, 8 Jun 2009 23:16:12 -0400 (EDT)
	(envelope-from pgollucci@frieza.p6m7g8.net)
Received: (from pgollucci@localhost)
	by frieza.p6m7g8.net (8.14.3/8.14.3/Submit) id n593GCYQ075516;
	Mon, 8 Jun 2009 23:16:12 -0400 (EDT)
	(envelope-from pgollucci)
Message-Id: <200906090316.n593GCYQ075516@frieza.p6m7g8.net>
Date: Mon, 8 Jun 2009 23:16:12 -0400 (EDT)
From: "Philip M. Gollucci" <pgollucci@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: dev@apr.apache.org, lev@apache.org, pav@apache.org
Subject: [MAINTAINER] devel/apr-gdbm-db42: apr-util 1.3.7 breaks dbd support
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         135396
>Category:       ports
>Synopsis:       [MAINTAINER] devel/apr-gdbm-db42: apr-util 1.3.7 breaks dbd support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pgollucci
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 09 03:20:04 UTC 2009
>Closed-Date:    Wed Jun 10 05:53:54 UTC 2009
>Last-Modified:  Wed Jun 10 06:00:08 UTC 2009
>Originator:     Philip M. Gollucci
>Release:        FreeBSD 8.0-CURRENT amd64
>Organization:
RideCharge Inc.
>Environment:
System: FreeBSD frieza.p6m7g8.net 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Thu Jun  4 00:22:57 EDT
>Description:

-ldb* is never added to APRUTIL_EXPORT_LIBS so that apu-config.in -> apu-1-config
can report on whats there using (i.e. from subversion)

    SVN_DB_LIBS="${SVN_DB_LIBS-`$apu_config --libs | sed -e 's/.*\(-ldb[^[:space:]]*\).*/\1/' | $EGREP -- '-ldb[^[:space:]]*'`}"

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->pgollucci 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Jun 9 10:27:53 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer 

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

From: "Philip M. Gollucci" <pgollucci@p6m7g8.com>
To: "Philip M. Gollucci" <pgollucci@freebsd.org>
Cc: <FreeBSD-gnats-submit@freebsd.org>, <dev@apr.apache.org>,
	<pav@apache.org>, <lev@apache.org>
Subject: Re: ports/135396: [MAINTAINER] devel/apr-gdbm-db42: apr-util 1.3.7
 breaks dbd support
Date: Tue, 9 Jun 2009 20:19:16 -0400

 --------------090909010401040305090708
 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed
 Content-Transfer-Encoding: 7bit
 
 > -ldb* is never added to APRUTIL_EXPORT_LIBS so that apu-config.in -> apu-1-config
 > can report on whats there using (i.e. from subversion)
 A patch, waiting on upstream decision.... (T-1 one day before I just drop in 
 for now)
 
 
 -- 
 ------------------------------------------------------------------------
 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
 Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354
 Consultant          - P6M7G8 Inc.                http://p6m7g8.net
 Senior Sys Admin    - RideCharge, Inc.           http://ridecharge.com
 Contractor          - PositiveEnergyUSA          http://positiveenergyusa.com
 ASF Member          - Apache Software Foundation http://apache.org
 FreeBSD Committer   - FreeBSD Foundation         http://freebsd.org
 
 Work like you don't need the money,
 love like you'll never get hurt,
 and dance like nobody's watching.
 
 --------------090909010401040305090708
 Content-Type: text/plain; name="apu-dbm-libs.patch"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline; filename="apu-dbm-libs.patch"
 
 Index: apu-config.in
 ===================================================================
 --- apu-config.in	(revision 782876)
 +++ apu-config.in	(working copy)
 @@ -31,6 +31,7 @@
  INCLUDES="@APRUTIL_INCLUDES@"
  LDFLAGS="@APRUTIL_LDFLAGS@"
  LDAP_LIBS="@LDADD_ldap@"
 +DBM_LIBS="@LDADD_dbm_db@ @LDADD_dbm_gdbm@ @LDADD_dbm_ndbm@"
  
  APRUTIL_LIBNAME="@APRUTIL_LIBNAME@"
  
 @@ -56,6 +57,8 @@
    --libs            print library information
    --avoid-ldap      do not include ldap library information with --libs
    --ldap-libs       print additional library information to link with ldap
 +  --avoid-dbm       do not include DBM library information with --libs
 +  --dbm-libs        print additional library information to link with DBM
    --srcdir          print APR-util source directory
    --link-ld         print link switch(es) for linking to APR-util
    --link-libtool    print the libtool inputs for linking to APR-util
 @@ -115,12 +118,18 @@
      --avoid-ldap)
      LDAP_LIBS=""
      ;;
 +    --avoid-dbm)
 +    DBM_LIBS=""
 +    ;;
      --libs)
 -    flags="$flags $LDAP_LIBS $LIBS"
 +    flags="$flags $LDAP_LIBS $DBM_LIBS $LIBS"
      ;;
      --ldap-libs)
      flags="$flags $LDAP_LIBS"
      ;;
 +    --dbm-libs)
 +    flags="$flags $DBM_LIBS"
 +    ;;
      --includedir)
      if test "$location" = "installed"; then
          flags="$includedir"
 
 --------------090909010401040305090708--

From: "William A. Rowe, Jr." <wrowe@rowe-clan.net>
To: "Philip M. Gollucci" <pgollucci@p6m7g8.com>
Cc: "Philip M. Gollucci" <pgollucci@freebsd.org>, 
 FreeBSD-gnats-submit@freebsd.org, dev@apr.apache.org, pav@apache.org, 
 lev@apache.org
Subject: Re: ports/135396: [MAINTAINER] devel/apr-gdbm-db42: apr-util 1.3.7
 breaks dbd support
Date: Tue, 09 Jun 2009 19:45:22 -0500

 Philip M. Gollucci wrote:
 >> -ldb* is never added to APRUTIL_EXPORT_LIBS so that apu-config.in ->
 >> apu-1-config
 >> can report on whats there using (i.e. from subversion)
 > A patch, waiting on upstream decision.... (T-1 one day before I just
 > drop in for now)
 
 Foolish question, but for reference is identical to Bojan's second iteration?

From: "Philip M. Gollucci" <pgollucci@p6m7g8.com>
To: "William A. Rowe, Jr." <wrowe@rowe-clan.net>
Cc: "Philip M. Gollucci" <pgollucci@freebsd.org>, 
 FreeBSD-gnats-submit@freebsd.org, dev@apr.apache.org, pav@apache.org, 
 lev@apache.org
Subject: Re: ports/135396: [MAINTAINER] devel/apr-gdbm-db42: apr-util 1.3.7
 breaks dbd support
Date: Tue, 9 Jun 2009 21:29:18 -0400

 William A. Rowe, Jr. wrote:
 > Philip M. Gollucci wrote:
 >>> -ldb* is never added to APRUTIL_EXPORT_LIBS so that apu-config.in ->
 >>> apu-1-config
 >>> can report on whats there using (i.e. from subversion)
 >> A patch, waiting on upstream decision.... (T-1 one day before I just
 >> drop in for now)
 > 
 > Foolish question, but for reference is identical to Bojan's second iteration?
 correct, this helps out people that want a stop gap until we settle on
 something.
State-Changed-From-To: open->closed 
State-Changed-By: pgollucci 
State-Changed-When: Wed Jun 10 05:53:53 UTC 2009 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/135396: commit references a PR
Date: Wed, 10 Jun 2009 05:53:44 +0000 (UTC)

 pgollucci    2009-06-10 05:53:27 UTC
 
   FreeBSD ports repository
 
   Modified files:
     devel/apr            Makefile 
   Added files:
     devel/apr/files      patch-apr-util-1.3.7__apu-config.in 
   Log:
   - Respect CC/CCFLAGS [1]
   - use -pthread instead of -lpthread [2]
   - It was only ever accidental that -ldb showed up in apu-config --libs
     Subversion doesn't actually even use it (apr_dbm*).
     APR/Util is supposed to auto load the backed db library without the app
     ever know which one it was.  Subversion uses db _directly_.
     Subversion 1.6.3 should account for this. [3]
   - Convert to bsd.options.mk
   - Bump PORTREVISION
   
   PR:             ports/135396 [3], ports/134453 [2], ports/132432 [1]
   Submitted by:   dev@apr.apache.org (wrowe, bojan) [3],
                   b.f. [2],  Anonymous <swell.k@gmail.com> [1]
   
   Revision  Changes    Path
   1.81      +9 -3      ports/devel/apr/Makefile
   1.1       +39 -0     ports/devel/apr/files/patch-apr-util-1.3.7__apu-config.in (new)
 _______________________________________________
 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:
