uberftp/uberftp-32bit-pkg-config.patch
2014-09-29 11:32:49 +02:00

24 lines
1.1 KiB
Diff

diff -ur UberFTP.orig/configure UberFTP/configure
--- UberFTP.orig/configure 2014-02-11 19:35:56.000000000 +0100
+++ UberFTP/configure 2014-09-29 10:10:45.282934507 +0200
@@ -3812,7 +3812,7 @@
if test "x$globus_location" == "x/usr" ; then
# RPM installation
- CPPFLAGS=-I$globus_location/lib64/globus/include
+ CPPFLAGS="-I$globus_location/lib64/globus/include -I$globus_location/lib/globus/include -I$globus_location/include/globus"
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
diff -ur UberFTP.orig/configure.ac UberFTP/configure.ac
--- UberFTP.orig/configure.ac 2014-02-11 19:35:56.000000000 +0100
+++ UberFTP/configure.ac 2014-09-29 10:09:35.848741840 +0200
@@ -109,7 +109,7 @@
if test "x$globus_location" == "x/usr" ; then
# RPM installation
- CPPFLAGS=-I$globus_location/lib64/globus/include
+ CPPFLAGS="-I$globus_location/lib64/globus/include -I$globus_location/lib/globus/include -I$globus_location/include/globus"
AC_CHECK_HEADERS([globus_config.h],
[GLOBUS_CONFIG_CPPFLAGS="$CPPFLAGS"],
[AC_MSG_ERROR(globus_config.h not found, install globus-core)])