packages/net/pure-ftpd/patches/010-dont-add-host-paths.patch

30 lines
890 B
Diff
Raw Normal View History

--- 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 :