commit: 914efad2733b51f620b2615201ff020cc6bb44ef Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org> AuthorDate: Thu Mar 10 19:40:56 2022 +0000 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> CommitDate: Thu Mar 10 19:40:56 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=914efad2
app-text/lowdown: Fix library installation (bug #832797) Bug: https://bugs.gentoo.org/832797 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> app-text/lowdown/files/lowdown-0.11.1-linking.patch | 12 ++++++++---- .../{lowdown-0.11.1.ebuild => lowdown-0.11.1-r1.ebuild} | 0 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/app-text/lowdown/files/lowdown-0.11.1-linking.patch b/app-text/lowdown/files/lowdown-0.11.1-linking.patch index 89595d54fb02..2aa5cb1fe58e 100644 --- a/app-text/lowdown/files/lowdown-0.11.1-linking.patch +++ b/app-text/lowdown/files/lowdown-0.11.1-linking.patch @@ -1,5 +1,5 @@ diff --git a/Makefile b/Makefile -index 7705432..4208e47 100644 +index ccc163d..d148da6 100644 --- a/Makefile +++ b/Makefile @@ -173,8 +173,8 @@ installwww: www @@ -9,11 +9,11 @@ index 7705432..4208e47 100644 -lowdown: liblowdown.a main.o - $(CC) -o $@ main.o liblowdown.a $(LDFLAGS) $(LDADD_MD5) -lm +lowdown: liblowdown.so main.o -+ $(CC) -o $@ main.o $(LDADD_MD5) -lm -llowdown $(LDFLAGS) ++ $(CC) -o $@ main.o $(LDADD_MD5) -lm -L. -llowdown $(LDFLAGS) lowdown-diff: lowdown ln -f lowdown lowdown-diff -@@ -183,7 +183,7 @@ liblowdown.a: $(OBJS) $(COMPAT_OBJS) +@@ -183,10 +183,10 @@ liblowdown.a: $(OBJS) $(COMPAT_OBJS) $(AR) rs $@ $(OBJS) $(COMPAT_OBJS) liblowdown.so: $(OBJS) $(COMPAT_OBJS) @@ -21,7 +21,11 @@ index 7705432..4208e47 100644 + $(CC) -shared -o $@.$(LIBVER) $(OBJS) $(COMPAT_OBJS) $(LDFLAGS) $(LDADD_MD5) -lm -Wl,-soname,$@.$(LIBVER) ln -sf $@.$(LIBVER) $@ - install: bins +-install: bins ++install: bins install_libs + mkdir -p $(DESTDIR)$(BINDIR) + mkdir -p $(DESTDIR)$(MANDIR)/man1 + mkdir -p $(DESTDIR)$(MANDIR)/man5 @@ -218,7 +218,7 @@ install_shared: liblowdown.so install_lib_common install_static: liblowdown.a install_lib_common $(INSTALL_LIB) liblowdown.a $(DESTDIR)$(LIBDIR) diff --git a/app-text/lowdown/lowdown-0.11.1.ebuild b/app-text/lowdown/lowdown-0.11.1-r1.ebuild similarity index 100% rename from app-text/lowdown/lowdown-0.11.1.ebuild rename to app-text/lowdown/lowdown-0.11.1-r1.ebuild
