freebsd-ports/math/libtommath/files/patch-makefile
Pav Lucistnik 7a9549db7e LibTomMath provides highly optimized and portable routines for a vast
majority of integer based number theoretic applications (including
public key cryptography).

PR:		ports/85043
Submitted by:	Wesley Shields <wxs@csh.rit.edu>
2005-08-29 14:28:15 +00:00

15 lines
582 B
Text

--- makefile.orig Fri Aug 5 09:34:54 2005
+++ makefile Fri Aug 5 09:36:36 2005
@@ -48,9 +48,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=${PREFIX}/share/doc/libtommath/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 \