openbsd-ports/devel/gal2/patches/patch-configure
marcm d4215ebbb1 GNOME2 Application Libs.
This is the Gnome 2.x version of devel/gal.  Like gal1 it is a support
library for Gnumeric and Evolution.
2003-10-14 20:26:08 +00:00

26 lines
1.1 KiB
Plaintext

$OpenBSD: patch-configure,v 1.1.1.1 2003/10/14 20:26:08 marcm Exp $
--- configure.orig Mon Jun 2 11:13:24 2003
+++ configure Mon Jun 9 17:04:03 2003
@@ -6289,8 +6289,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
@@ -6299,8 +6299,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