summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2022-03-10 11:40:56 -0800
committerPatrick McLean <chutzpah@gentoo.org>2022-03-10 11:40:56 -0800
commit914efad2733b51f620b2615201ff020cc6bb44ef (patch)
treea4f0248a2d71573f597663640fa99d628943d9b1 /app-text
parentapp-admin/awscli: add 1.22.71 (diff)
downloadgentoo-914efad2733b51f620b2615201ff020cc6bb44ef.tar.gz
gentoo-914efad2733b51f620b2615201ff020cc6bb44ef.tar.bz2
gentoo-914efad2733b51f620b2615201ff020cc6bb44ef.zip
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@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/lowdown/files/lowdown-0.11.1-linking.patch12
-rw-r--r--app-text/lowdown/lowdown-0.11.1-r1.ebuild (renamed from app-text/lowdown/lowdown-0.11.1.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
index 203b145ffc66..203b145ffc66 100644
--- a/app-text/lowdown/lowdown-0.11.1.ebuild
+++ b/app-text/lowdown/lowdown-0.11.1-r1.ebuild