diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-05-16 14:35:59 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-05-16 16:43:50 +0200 |
commit | 81ae1b109602c0f028a49ac7e213236aac67ac46 (patch) | |
tree | 4471c5d57b6bfbdee77646368d1c662e10f8cf0d | |
parent | sys-libs/pwdb: No colon in sed w/ CFLAGS (diff) | |
download | gentoo-81ae1b109602c0f028a49ac7e213236aac67ac46.tar.gz gentoo-81ae1b109602c0f028a49ac7e213236aac67ac46.tar.bz2 gentoo-81ae1b109602c0f028a49ac7e213236aac67ac46.zip |
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 <asturm@gentoo.org>
-rw-r--r-- | sys-libs/pwdb/files/pwdb-0.62-disable-static.patch | 19 | ||||
-rw-r--r-- | sys-libs/pwdb/pwdb-0.62-r2.ebuild | 5 |
2 files changed, 23 insertions, 1 deletions
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 |