From 81ae1b109602c0f028a49ac7e213236aac67ac46 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sun, 16 May 2021 14:35:59 +0200 Subject: sys-libs/pwdb: Disable static lib Closes: https://bugs.gentoo.org/725972 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner --- sys-libs/pwdb/files/pwdb-0.62-disable-static.patch | 19 +++++++++++++++++++ sys-libs/pwdb/pwdb-0.62-r2.ebuild | 5 ++++- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 sys-libs/pwdb/files/pwdb-0.62-disable-static.patch (limited to 'sys-libs/pwdb') diff --git a/sys-libs/pwdb/files/pwdb-0.62-disable-static.patch b/sys-libs/pwdb/files/pwdb-0.62-disable-static.patch new file mode 100644 index 000000000000..a3395e169079 --- /dev/null +++ b/sys-libs/pwdb/files/pwdb-0.62-disable-static.patch @@ -0,0 +1,19 @@ +--- a/libpwdb/Makefile ++++ b/libpwdb/Makefile +@@ -46,7 +46,7 @@ + %.o : %.c $(HEADERS) + $(CC) $(CFLAGS) $(DYNAMIC) $(CPPFLAGS) $(TARGET_ARCH) -c $< -o $@ + +-all: $(LIBSTATIC) $(LIBDYNAME) ++all: $(LIBDYNAME) + + + $(LIBDYNAME): $(LIBOBJ) +@@ -70,7 +70,6 @@ + $(INSTALL) -m 755 $(LIBFILENAME) $(LIBDIR) + ln -sf $(LIBFILENAME) $(LIBDIR)/$(LIBSONAME) + ln -sf $(LIBFILENAME) $(LIBDIR)/$(LIBDYNAME) +- $(INSTALL) -m 644 $(LIBSTATIC) $(LIBDIR) + + clean: + @rm -f *.so *.a core a.out `find . -name "*.o" -print` `find . -name "*~" -print` diff --git a/sys-libs/pwdb/pwdb-0.62-r2.ebuild b/sys-libs/pwdb/pwdb-0.62-r2.ebuild index 6701f44fdb0a..d44cdd852dd0 100644 --- a/sys-libs/pwdb/pwdb-0.62-r2.ebuild +++ b/sys-libs/pwdb/pwdb-0.62-r2.ebuild @@ -26,7 +26,10 @@ BDEPEND="virtual/pkgconfig" DOCS=( CHANGES CREDITS README doc/pwdb.txt ) HTML_DOCS=( doc/html/. ) -PATCHES=( "${FILESDIR}"/${P}-build.patch ) +PATCHES=( + "${FILESDIR}"/${P}-build.patch + "${FILESDIR}"/${P}-disable-static.patch # bug 725972 +) src_prepare() { default -- cgit v1.2.3-65-gdbad