[packages] pure-ftpd: Don't add host lib and include paths.
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 19 Feb 2010 04:21:02 +0000 (04:21 +0000)
committerLars-Peter Clausen <lars@metafoo.de>
Fri, 19 Feb 2010 04:21:02 +0000 (04:21 +0000)
SVN-Revision: 19731

net/pure-ftpd/patches/010-dont-add-host-paths.patch [new file with mode: 0644]

diff --git a/net/pure-ftpd/patches/010-dont-add-host-paths.patch b/net/pure-ftpd/patches/010-dont-add-host-paths.patch
new file mode 100644 (file)
index 0000000..00c545c
--- /dev/null
@@ -0,0 +1,31 @@
+diff --git a/configure b/configure
+index f771720..d1c40f4 100755
+--- a/configure
++++ b/configure
+@@ -4893,18 +4893,6 @@ fi
+-if test -d /usr/local/include; then
+-  CPPFLAGS="$CPPFLAGS -I/usr/local/include"
+-fi
+-
+-if test -d /usr/kerberos/include; then
+-  CPPFLAGS="$CPPFLAGS -I/usr/kerberos/include"
+-fi
+-
+-if test -d /usr/local/lib; then
+-  LDFLAGS="$LDFLAGS -L/usr/local/lib"
+-fi
+-
+ if uname | fgrep SunOS > /dev/null 2> /dev/null ; then
+   CPPFLAGS="$CPPFLAGS -D_XPG4_2=1"
+ fi
+@@ -9291,7 +9279,6 @@ if test $ac_have_func = no; then
+   # There is a commonly available library for RS/6000 AIX.
+   # Since it is not a standard part of AIX, it might be installed locally.
+   ac_getloadavg_LIBS=$LIBS
+-  LIBS="-L/usr/local/lib $LIBS"
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getloadavg in -lgetloadavg" >&5
+ $as_echo_n "checking for getloadavg in -lgetloadavg... " >&6; }
+ if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then :