diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-05-30 11:44:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-05-30 11:44:06 +0100 |
commit | f516638b7fe9592837389826a6152a7e1b251c54 (patch) | |
tree | 8bfecb640b7b6403d7a3d662d923eed630033da7 /dev-libs/tomsfastmath/files | |
parent | 1a61119f9f7b057830e2ce0563f913ec86f282ad (diff) |
gentoo resync : 30.05.2020
Diffstat (limited to 'dev-libs/tomsfastmath/files')
-rw-r--r-- | dev-libs/tomsfastmath/files/tomsfastmath-0.13.1-makefile-fix.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-libs/tomsfastmath/files/tomsfastmath-0.13.1-makefile-fix.patch b/dev-libs/tomsfastmath/files/tomsfastmath-0.13.1-makefile-fix.patch new file mode 100644 index 000000000000..7239178e5dde --- /dev/null +++ b/dev-libs/tomsfastmath/files/tomsfastmath-0.13.1-makefile-fix.patch @@ -0,0 +1,45 @@ +diff --git a/makefile.shared b/makefile.shared +index 47c35d9..cebaa04 100644 +--- a/makefile.shared ++++ b/makefile.shared +@@ -1,7 +1,8 @@ + #makefile for TomsFastMath + # + # +-VERSION=1:0:0 ++VERSION=0.13.1 ++VERSION_LIB=1:0:0 + + LT ?= libtool + LTCOMPILE = $(LT) --mode=compile --tag=CC $(CC) +@@ -89,13 +90,16 @@ $(OBJECTS): $(HEADERS) + $(LTCOMPILE) $(CFLAGS) $(LDFLAGS) -o $@ -c $< + + $(LIBNAME): $(OBJECTS) +- libtool --mode=link --tag=CC $(CC) $(CFLAGS) $(LDFLAGS) `find . -type f | LC_ALL=C sort | grep "[.]lo" | xargs` -o $(LIBNAME) -rpath $(LIBPATH) -version-info $(VERSION) -export-symbols libtfm.symbols ++ libtool --mode=link --tag=CC $(CC) $(CFLAGS) $(LDFLAGS) `find . -type f | LC_ALL=C sort | grep "[.]lo" | xargs` -o $(LIBNAME) -rpath $(LIBPATH) -version-info $(VERSION_LIB) -export-symbols libtfm.symbols + + install: $(LIBNAME) + install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(LIBPATH) + libtool --mode=install install -c $(LIBNAME) $(DESTDIR)$(LIBPATH)/$(LIBNAME) + install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(INCPATH) + install -g $(GROUP) -o $(USER) $(HEADERS_PUB) $(DESTDIR)$(INCPATH) ++ sed -e 's,^Version:.*,Version: $(VERSION),' tomsfastmath.pc.in > tomsfastmath.pc ++ install -d $(DESTDIR)$(LIBPATH)/pkgconfig ++ install -m 644 tomsfastmath.pc $(DESTDIR)$(LIBPATH)/pkgconfig/ + + HEADER_FILES=$(notdir $(HEADERS_PUB)) + uninstall: +diff --git a/tomsfastmath.pc.in b/tomsfastmath.pc.in +new file mode 100644 +index 0000000..a0275ab +--- /dev/null ++++ b/tomsfastmath.pc.in +@@ -0,0 +1,7 @@ ++# TomsFastMath, a fast ISO C bignum library. -- Tom St Denis ++# SPDX-License-Identifier: Unlicense ++ ++Name: TomFastMath ++Description: Fast multiple-precision integer library ++Version: @VERSION@ ++Libs: -ltfm |