Files
haikuports/dev-libs/libtommath/patches/libtommath-0.42.0.patchset
2014-12-06 19:00:44 -06:00

51 lines
1.2 KiB
Plaintext

From f2b4b4b4aa83b658ae9a23d5195e04487a102d88 Mon Sep 17 00:00:00 2001
From: Nolan Clark <tweakdeveloper@gmail.com>
Date: Sat, 6 Dec 2014 16:01:50 -0600
Subject: applying patch makefile.patch
diff --git a/makefile b/makefile
index 70de306..e3a0a04 100644
--- a/makefile
+++ b/makefile
@@ -27,18 +27,9 @@ CFLAGS += -fomit-frame-pointer
endif
-#install as this user
-ifndef INSTALL_GROUP
- GROUP=wheel
-else
- GROUP=$(INSTALL_GROUP)
-endif
-
-ifndef INSTALL_USER
- USER=root
-else
- USER=$(INSTALL_USER)
-endif
+#install as this user and group
+USER=user
+GROUP=root
#default files to install
ifndef LIBNAME
@@ -49,14 +40,6 @@ default: ${LIBNAME}
HEADERS=tommath.h tommath_class.h tommath_superclass.h
-#LIBPATH-The directory for libtommath to be installed to.
-#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
-
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 \
bn_mp_init_copy.o bn_mp_abs.o bn_mp_neg.o bn_mp_cmp_mag.o bn_mp_cmp.o bn_mp_cmp_d.o \
--
1.8.3.4