summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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