From: Lars-Peter Clausen Date: Fri, 19 Feb 2010 04:21:02 +0000 (+0000) Subject: [packages] pure-ftpd: Don't add host lib and include paths. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f8804c4400bfb15b02ef70d50eb9a830a6aa24ef;p=openwrt%2Fsvn-archive%2Farchive.git [packages] pure-ftpd: Don't add host lib and include paths. SVN-Revision: 19731 --- 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 index 0000000000..00c545c206 --- /dev/null +++ b/net/pure-ftpd/patches/010-dont-add-host-paths.patch @@ -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 :