freebsd-ports/x11/libgnome/files/patch-aa
Maxim Sobolev ed32c6b096 Some of the GNOME components now install their include files into
${PREFIX}/include/gnome-1.0 instead of plain ${PREFIX}/include, so make
gnome-config return appropriate cpp(1) flags necessary to find those
headers. Bump PORTREVISION accordingly.
2001-10-09 07:40:18 +00:00

58 lines
1.8 KiB
Text

$FreeBSD$
--- configure.orig Fri Oct 5 10:53:42 2001
+++ configure Fri Oct 5 12:02:38 2001
@@ -5416,7 +5416,7 @@
else
save_LDFLAGS="$LDFLAGBS"
- LDFLAGS="$LDFLAGS `glib-config --libs gmodule`"
+ LDFLAGS="$LDFLAGS `$GLIB_CONFIG --libs gmodule`"
if test "$cross_compiling" = yes; then
ac_cv_gmodule=yes
else
@@ -7035,7 +7035,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
#line 7041 "configure"
#include "confdefs.h"
@@ -10111,13 +10111,13 @@
SUPPORTINCS='-DNEED_GNOMESUPPORT_H -I$(top_builddir)/support -I$(top_srcdir)/support'
ART_LIBS="-lart_lgpl"
-GNOME_LIBS="-lgnome -lgnomesupport $LIBGNOME_LIBS"
+GNOME_LIBS="-lgnome -lgnomesupport -lintl $LIBGNOME_LIBS"
GNOMEUI_LIBS="-lgnomeui $ART_LIBS $GDK_IMLIB_LIBS $GTK_LIBS $GNOME_LIBS"
GTKXMHTML_LIBS="-lgtkxmhtml $LIBGTKXMHTML_LIBS"
ZVT_LIBS="-lzvt $UTIL_LIBS $GTK_LIBS"
GNOME_LIBDIR='-L${libdir}'
-GNOME_INCLUDEDIR='-I${includedir} -DNEED_GNOMESUPPORT_H -I${pkglibdir}/include'
+GNOME_INCLUDEDIR='-I${includedir}/gnome-1.0 -I${includedir} -DNEED_GNOMESUPPORT_H'
GNOME_IDLDIR='-I${datadir}/idl'
@@ -10511,6 +10511,7 @@
s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
s%@MAINT@%$MAINT%g
s%@cflags_set@%$cflags_set%g
+s%@GLIB_CONFIG@%$GLIB_CONFIG%g
s%@GTK_CONFIG@%$GTK_CONFIG%g
s%@GTK_CFLAGS@%$GTK_CFLAGS%g
s%@GTK_LIBS@%$GTK_LIBS%g
@@ -10980,10 +10981,6 @@
*) # Relative path.
ac_sub_cache_file="$ac_dots$cache_file" ;;
esac
- case "$ac_given_INSTALL" in
- [/$]*) INSTALL="$ac_given_INSTALL" ;;
- *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
- esac
echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
# The eval makes quoting arguments work.