freebsd-ports/graphics/xmms-waterfall/files/patch-ltconfig

20 lines
581 B
Text

--- ltconfig.orig 1999-11-21 19:32:12.000000000 +0000
+++ ltconfig
@@ -1349,7 +1349,7 @@ else
;;
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
- freebsd*)
+ dragonfly*|freebsd*)
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $linkopts'
hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
@@ -1823,7 +1823,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