Hi,

I'm sending this patch upstream, apr is one of the projects I don't have a commit bit too, so please review commit, and MFC as needed.

Will require a ./builconf to regen ./configure.

Thanks.

Recent PR
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/122555


--
------------------------------------------------------------------------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

Index: dbm.m4
===================================================================
--- dbm.m4	(revision 598375)
+++ dbm.m4	(working copy)
@@ -671,6 +671,8 @@
     elif test "$withval" = "no"; then
       apu_have_gdbm=0
     else
+      saved_cppflags="$CPPFLAGS"
+      saved_libs="$LIBS"
       CPPFLAGS="-I$withval/include"
       LIBS="-L$withval/lib "
 
@@ -680,6 +682,8 @@
         APR_ADDTO(APRUTIL_LDFLAGS, [-L$withval/lib])
         APR_ADDTO(APRUTIL_INCLUDES, [-I$withval/include])
       fi
+      CPPFLAGS="$saved_cppflags"
+      LIBS="$saved_libs"
     fi
   ])
 

Reply via email to