buildroot/package/pure-ftpd/0001-cross.patch
Peter Korsgaard 298cd8eaa2 package/*: rename patches according to the new policy
Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345)

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-03 14:52:56 +01:00

26 lines
690 B
Diff

Do not include host paths when cross-compiling.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
diff -uNr pure-ftpd-1.0.36.org/configure pure-ftpd-1.0.36/configure
--- pure-ftpd-1.0.36.org/configure 2012-03-16 06:29:23.000000000 +0100
+++ pure-ftpd-1.0.36/configure 2014-09-28 19:55:56.650529713 +0200
@@ -6319,17 +6319,6 @@
-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"