aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-02-06 04:38:55 +0800
committermarino <marino@FreeBSD.org>2014-02-06 04:38:55 +0800
commita4bfc0bda3f0a2f2d0a2d4a3bd5cc213f4e8b1b5 (patch)
treec3aa97dd14e74862ae4cd6b69287e4be02458b94 /lang
parent44a925a9fac9017c101ba21be33d5f067f81c367 (diff)
downloadfreebsd-ports-gnome-a4bfc0bda3f0a2f2d0a2d4a3bd5cc213f4e8b1b5.tar.gz
freebsd-ports-gnome-a4bfc0bda3f0a2f2d0a2d4a3bd5cc213f4e8b1b5.tar.zst
freebsd-ports-gnome-a4bfc0bda3f0a2f2d0a2d4a3bd5cc213f4e8b1b5.zip
lang/gnustep-guile: Add dragonfly support to configure script
Diffstat (limited to 'lang')
-rw-r--r--lang/gnustep-guile/files/patch-Greg_configure36
1 files changed, 36 insertions, 0 deletions
diff --git a/lang/gnustep-guile/files/patch-Greg_configure b/lang/gnustep-guile/files/patch-Greg_configure
new file mode 100644
index 000000000000..b1e2c84d3a21
--- /dev/null
+++ b/lang/gnustep-guile/files/patch-Greg_configure
@@ -0,0 +1,36 @@
+--- Greg/configure.orig 2014-02-05 13:56:54.154224000 +0000
++++ Greg/configure
+@@ -2440,13 +2440,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.*`
+ ;;
+@@ -4543,7 +4543,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
+@@ -4990,7 +4990,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