From 0026897e387a9a0be02e75dcffdc7d23102caaad Mon Sep 17 00:00:00 2001 From: fgsch Date: Tue, 28 Aug 2012 13:04:01 +0000 Subject: [PATCH] revert part of the previous commit bringing the removal of -Wl,--no-undefined back as it does not build otherwise. discussed with jasper@ and sthen@ --- multimedia/libvpx/patches/patch-build_make_Makefile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/multimedia/libvpx/patches/patch-build_make_Makefile b/multimedia/libvpx/patches/patch-build_make_Makefile index d488f863920..35cd861c7e9 100644 --- a/multimedia/libvpx/patches/patch-build_make_Makefile +++ b/multimedia/libvpx/patches/patch-build_make_Makefile @@ -1,18 +1,17 @@ -$OpenBSD: patch-build_make_Makefile,v 1.3 2012/08/27 20:42:25 jasper Exp $ ---- build/make/Makefile.orig Tue May 8 19:14:00 2012 -+++ build/make/Makefile Fri Aug 17 23:33:14 2012 -@@ -247,8 +247,8 @@ define so_template +$OpenBSD: patch-build_make_Makefile,v 1.4 2012/08/28 13:04:01 fgsch Exp $ +--- build/make/Makefile.orig Fri Jan 27 13:36:39 2012 ++++ build/make/Makefile Sun Jan 29 21:11:03 2012 +@@ -247,8 +247,7 @@ define so_template # This needs further abstraction for dealing with non-GNU linkers. $(1): $(if $(quiet),@echo " [LD] $$@") - $(qexec)$$(LD) -shared $$(LDFLAGS) \ - -Wl,--no-undefined -Wl,-soname,$$(SONAME) \ + $(qexec)$$(LD) -shared -fPIC $$(LDFLAGS) \ -+ -Wl,--no-undefined \ -Wl,--version-script,$$(SO_VERSION_SCRIPT) -o $$@ \ $$(filter %.o,$$?) $$(extralibs) endef -@@ -316,7 +316,7 @@ LIBS=$(call enabled,LIBS) +@@ -316,7 +315,7 @@ LIBS=$(call enabled,LIBS) .libs: $(LIBS) @touch $@ $(foreach lib,$(filter %_g.a,$(LIBS)),$(eval $(call archive_template,$(lib))))