pkgsrc/graphics/gdk-pixbuf/patches/patch-ae

56 lines
1.8 KiB
Text

$NetBSD: patch-ae,v 1.5 2005/09/04 04:56:40 reed Exp $
--- configure.orig 2002-12-18 22:18:48.000000000 +0000
+++ configure
@@ -2440,13 +2440,13 @@ darwin* | rhapsody*)
esac
;;
-freebsd*)
+freebsd* | dragonfly*)
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
case $host_cpu in
i*86 )
# Not sure whether the presence of OpenBSD here was a mistake.
# Let's accept both of them until this is cleared up.
- lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
+ lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
lt_cv_file_magic_cmd=/usr/bin/file
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
;;
@@ -4424,7 +4424,7 @@ else
;;
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
- freebsd*)
+ freebsd* | dragonfly*)
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
@@ -4871,7 +4871,7 @@ freebsd1*)
dynamic_linker=no
;;
-freebsd*)
+freebsd* | dragonfly*)
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
version_type=freebsd-$objformat
case $version_type in
@@ -9214,6 +9214,7 @@ fi
echo "$as_me:9214: checking for location of rgb.txt database" >&5
echo $ECHO_N "checking for location of rgb.txt database... $ECHO_C" >&6
+if test -z "$path_rgb_txt"; then
path_rgb_txt=/usr/lib/X11/rgb.txt
if test -r ${x_libraries}/X11/rgb.txt; then
@@ -9226,7 +9227,8 @@ else
fi
done
fi
-echo "$as_me:9229: result: $path_rgb_txt" >&5
+fi
+echo "$as_me:$LINENO: result: $path_rgb_txt" >&5
echo "${ECHO_T}$path_rgb_txt" >&6
cat >>confdefs.h <<EOF
#define PATH_RGB_TXT "$path_rgb_txt"