1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-01 10:59:55 +00:00

graphics/gimageview: Bring in dports patch to support DragonFly

This commit is contained in:
John Marino 2014-07-05 18:58:00 +00:00
parent 6d384ef0a3
commit 57371de519
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360799

View File

@ -0,0 +1,36 @@
--- configure.orig 2014-05-30 20:23:28.832450000 +0000
+++ configure
@@ -4723,13 +4723,13 @@ darwin* | rhapsody*)
esac
;;
-freebsd*)
+dragonfly*|freebsd*)
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|DragonFly|OpenBSD)/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.*`
;;
@@ -6990,7 +6990,7 @@ else
;;
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
- freebsd*)
+ dragonfly*|freebsd*)
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
@@ -7421,7 +7421,7 @@ freebsd1*)
dynamic_linker=no
;;
-freebsd*)
+dragonfly*|freebsd*)
objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
version_type=freebsd-$objformat
case $version_type in