ports/math/libtommath/files/patch-makefile
Marcelo Araujo bf026995fe - Update to 0.42.0.
PR:		ports/149102
Submitted by:	Frederic Culot <frederic@culot.org>
2010-08-09 22:57:44 +00:00

24 lines
743 B
Text

--- makefile.bak 2010-07-30 12:05:21.219322050 +0200
+++ makefile 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=${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 \