openbsd-ports/graphics/libart/patches/patch-configure
brad f18880faba upgrade to libart 2.3.10
--
From: The new MAINTAINER, Marc Matteo <marcm@lectroid.net>
2002-07-28 04:40:40 +00:00

26 lines
1.1 KiB
Plaintext

$OpenBSD: patch-configure,v 1.1 2002/07/28 04:43:26 brad Exp $
--- configure.orig Thu Jul 18 23:30:47 2002
+++ configure Thu Jul 18 23:31:21 2002
@@ -4792,8 +4792,8 @@ 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'
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ hardcode_libdir_flag_spec='${wl}-R$libdir'
export_dynamic_flag_spec='${wl}-E'
else
case "$host_os" in
@@ -4802,8 +4802,8 @@ else
hardcode_libdir_flag_spec='-R$libdir'
;;
*)
- archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+ hardcode_libdir_flag_spec='${wl}-R$libdir'
;;
esac
fi