summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libtommath/files/libtommath-0.36-shared-lib.patch')
-rw-r--r--dev-libs/libtommath/files/libtommath-0.36-shared-lib.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-libs/libtommath/files/libtommath-0.36-shared-lib.patch b/dev-libs/libtommath/files/libtommath-0.36-shared-lib.patch
new file mode 100644
index 000000000000..4ad81df66f39
--- /dev/null
+++ b/dev-libs/libtommath/files/libtommath-0.36-shared-lib.patch
@@ -0,0 +1,18 @@
+patch by Bruce Guenter
+
+http://bugs.gentoo.org/124692
+
+--- libtommath-0.36/makefile.shared
++++ libtommath-0.36/makefile.shared
+@@ -84,7 +84,10 @@
+ libtool --mode=link gcc *.lo -o $(LIBNAME) -rpath $(LIBPATH) -version-info $(VERSION)
+ libtool --mode=link gcc *.o -o $(LIBNAME_S)
+ ranlib $(LIBNAME_S)
+- libtool --mode=install install -c $(LIBNAME) $(LIBPATH)/$@
++
++install: $(LIBNAME) $(HEADERS)
++ install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(LIBPATH)
++ libtool --mode=install install -c $(LIBNAME) $(DESTDIR)$(LIBPATH)/$@
+ install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(INCPATH)
+ install -g $(GROUP) -o $(USER) $(HEADERS) $(DESTDIR)$(INCPATH)
+