pkgsrc/devel/apr-util/patches/patch-aa
cube c3d6636abf Don't let the build's LDFLAGS be polluted by what provides apr, because apr
doesn't know about all dependencies of apr-util.  Otherwise the final binary
wouldn't have the proper RPATHs.

Bump PKGREVISION.
2008-11-02 15:05:11 +00:00

13 lines
545 B
Text

$NetBSD: patch-aa,v 1.2 2008/11/02 15:05:11 cube Exp $
--- configure.in.orig 2005-05-05 12:24:29.000000000 -0700
+++ configure.in
@@ -164,7 +164,7 @@ dnl copy apr's rules.mk into our build d
if test ! -d ./build; then
$mkdir_p build
fi
-cp $APR_BUILD_DIR/apr_rules.mk $abs_builddir/build/rules.mk
+sed -e 's:^LIBTOOL=.*:LIBTOOL=$(WRAPPER_DIR)/bin/libtool:' -e "s:^LDFLAGS=.*:LDFLAGS=${LDFLAGS}:" $APR_BUILD_DIR/apr_rules.mk > $abs_builddir/build/rules.mk
dnl
dnl BSD/OS (BSDi) needs to use a different include syntax in the Makefiles