From f5447dd19e96ba1fdc0c84deffd3739e78679fb9 Mon Sep 17 00:00:00 2001 From: naddy Date: Sat, 14 Sep 2002 21:05:17 +0000 Subject: [PATCH] Fix libtool to give this a fighting chance to build on ELF. --- audio/xmms-sid/patches/patch-configure | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 audio/xmms-sid/patches/patch-configure diff --git a/audio/xmms-sid/patches/patch-configure b/audio/xmms-sid/patches/patch-configure new file mode 100644 index 00000000000..52b30e8f323 --- /dev/null +++ b/audio/xmms-sid/patches/patch-configure @@ -0,0 +1,21 @@ +$OpenBSD: patch-configure,v 1.3 2002/09/14 21:05:17 naddy Exp $ +--- configure.orig Sat Sep 14 22:51:11 2002 ++++ configure Sat Sep 14 22:51:56 2002 +@@ -3473,7 +3473,7 @@ else + hardcode_direct=yes + hardcode_shlibpath_var=no + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then +- archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags' ++ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + export_dynamic_flag_spec='${wl}-E' + else +@@ -3483,7 +3483,7 @@ else + hardcode_libdir_flag_spec='-R$libdir' + ;; + *) +- archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags' ++ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + ;; + esac