diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2013-04-18 12:26:58 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2013-04-18 12:26:58 +0000 |
commit | 5148b68282a80edf0cab7cda02b00ada5c5ef5b0 (patch) | |
tree | e4e4741aea0bb1223a7efd1cb30eef9c45f7e791 /math/libtommath/files/patch-makefile | |
parent | - Update to 1.21 [1] (diff) |
- Take maintainership
- Add an OPTION to build the shared library in addition to the static one
- Add DOCS to OPTIONs
Feature safe: yes
Notes
Notes:
svn path=/head/; revision=316038
Diffstat (limited to 'math/libtommath/files/patch-makefile')
-rw-r--r-- | math/libtommath/files/patch-makefile | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/math/libtommath/files/patch-makefile b/math/libtommath/files/patch-makefile index 3cdf61f9dedd..538ecb6a4585 100644 --- a/math/libtommath/files/patch-makefile +++ b/math/libtommath/files/patch-makefile @@ -18,7 +18,31 @@ -DATAPATH=/usr/share/doc/libtommath/pdf +LIBPATH=${PREFIX}/lib +INCPATH=${PREFIX}/include -+DATAPATH=${PREFIX}/share/doc/libtommath/pdf ++DATAPATH=${DOCSDIR}/pdf + + OBJECTS=bncore.o bn_mp_init.o bn_mp_clear.o bn_mp_exch.o bn_mp_grow.o bn_mp_shrink.o \ + bn_mp_clamp.o bn_mp_zero.o bn_mp_set.o bn_mp_set_int.o bn_mp_init_size.o bn_mp_copy.o \ +--- makefile.shared.bak 2010-07-30 12:05:21.219322050 +0200 ++++ makefile.shared 2010-07-30 12:07:19.588144344 +0200 +@@ -14,7 +14,7 @@ + ifndef IGNORE_SPEED + + #for speed +-CFLAGS += -O3 -funroll-loops ++CFLAGS += -funroll-loops + + #for size + #CFLAGS += -Os +@@ -53,9 +53,9 @@ + #INCPATH-The directory to install the header files for libtommath. + #DATAPATH-The directory to install the pdf docs. + DESTDIR= +-LIBPATH=/usr/lib +-INCPATH=/usr/include +-DATAPATH=/usr/share/doc/libtommath/pdf ++LIBPATH=${PREFIX}/lib ++INCPATH=${PREFIX}/include ++DATAPATH=${DOCSDIR}/pdf OBJECTS=bncore.o bn_mp_init.o bn_mp_clear.o bn_mp_exch.o bn_mp_grow.o bn_mp_shrink.o \ bn_mp_clamp.o bn_mp_zero.o bn_mp_set.o bn_mp_set_int.o bn_mp_init_size.o bn_mp_copy.o \ |