1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/x11/gnomelibs/files/patch-aa

93 lines
2.9 KiB
Plaintext
Raw Normal View History

1999-02-01 20:58:46 +00:00
--- configure.orig Mon Feb 1 06:26:46 1999
+++ configure Tue Feb 2 03:58:26 1999
@@ -5112,7 +5112,7 @@
cat conftest.$ac_ext >&5
rm -rf conftest*
CATOBJEXT=.mo
- DATADIRNAME=lib
+ DATADIRNAME=share
fi
rm -f conftest*
INSTOBJEXT=.mo
@@ -6168,7 +6168,9 @@
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
- cat > conftest.$ac_ext <<EOF
+ ac_save_LIBS="$LIBS"
+LIBS="-lutil $LIBS"
+cat > conftest.$ac_ext <<EOF
1999-02-01 20:58:46 +00:00
#line 6173 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
1999-02-01 20:58:46 +00:00
@@ -6223,8 +6225,8 @@
1999-01-01 02:47:12 +00:00
#include "confdefs.h"
#include <stdio.h>
-#include <sys/socket.h>
#include <sys/types.h>
+#include <sys/socket.h>
int main() {
1999-02-01 20:58:46 +00:00
@@ -6722,7 +6724,7 @@
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-ltiff -lm $LIBS"
+LIBS="-ltiff -ljpeg -lz -lm $LIBS"
cat > conftest.$ac_ext <<EOF
1999-02-01 20:58:46 +00:00
#line 6728 "configure"
#include "confdefs.h"
1999-02-01 20:58:46 +00:00
@@ -6976,16 +6978,16 @@
1998-09-18 02:38:56 +00:00
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
- ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6
1999-02-01 20:58:46 +00:00
-echo "configure:6982: checking for gif_lib.h" >&5
1998-09-18 02:38:56 +00:00
+ ac_safe=`echo "giflib/gif_lib.h" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for giflib/gif_lib.h""... $ac_c" 1>&6
1999-02-01 20:58:46 +00:00
+echo "configure:6982: checking for giflib/gif_lib.h" >&5
1998-09-18 02:38:56 +00:00
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
1999-02-01 20:58:46 +00:00
#line 6987 "configure"
#include "confdefs.h"
-#include <gif_lib.h>
+#include <giflib/gif_lib.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1999-02-01 20:58:46 +00:00
{ (eval echo configure:6992: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
@@ -7052,16 +7054,16 @@
fi
1999-01-01 02:47:12 +00:00
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
- ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6
1999-02-01 20:58:46 +00:00
-echo "configure:7058: checking for gif_lib.h" >&5
1999-01-01 02:47:12 +00:00
+ ac_safe=`echo "giflib/gif_lib.h" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for giflib/gif_lib.h""... $ac_c" 1>&6
1999-02-01 20:58:46 +00:00
+echo "configure:7058: checking for giflib/gif_lib.h" >&5
1999-01-01 02:47:12 +00:00
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
1999-02-01 20:58:46 +00:00
#line 7063 "configure"
1999-01-01 02:47:12 +00:00
#include "confdefs.h"
-#include <gif_lib.h>
+#include <giflib/gif_lib.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1999-02-01 20:58:46 +00:00
{ (eval echo configure:7068: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
@@ -10193,7 +10195,7 @@
1999-01-01 02:47:12 +00:00
ZVT_LIBS="-lzvt $GTK_LIBS"
GNOME_LIBDIR='-L${libdir}'
-GNOME_INCLUDEDIR='-I${includedir} -DNEED_GNOMESUPPORT_H -I${pkglibdir}/include'
+GNOME_INCLUDEDIR='-I${includedir} -DNEED_GNOMESUPPORT_H'
GNOME_IDLDIR='-I${datadir}/idl'