openbsd-ports/devel/pkgconfig/patches/patch-configure
marcm 76c569d7a1 Update to 0.15.0
This update itself doesn't change anything that effects OpenBSD but I
wanted to sync the port with the current version (that has been out for
quite some time).

This port once again builds and statically links against its own internal
glib sources rather than pull in glib-1.2 from ports.  It seemed kinda
silly to build glib-1.2 to build glib-2.0 apps.
2003-09-23 05:59:34 +00:00

20 lines
942 B
Plaintext

$OpenBSD: patch-configure,v 1.1 2003/09/23 05:59:34 marcm Exp $
--- configure.orig 2003-09-05 11:24:10.000000000 -0700
+++ configure 2003-09-05 11:24:38.000000000 -0700
@@ -3479,13 +3479,13 @@ 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
case "$host_os" in
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $compiler_flags'
hardcode_libdir_flag_spec='-R$libdir'
;;
*)