summaryrefslogtreecommitdiff
path: root/math/tomsfastmath/files/patch-makefile
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2017-09-28 08:01:04 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2017-09-28 08:01:04 +0000
commit837a428a401f2402635a52bd96618f398e06b852 (patch)
treecacab3d37e2949703dc37376f58b50c8dcfacbae /math/tomsfastmath/files/patch-makefile
parentUpdate net/gnatsd to version 1.0.4. (diff)
math/tomsfastmath: update to 0.13.1
Release notes: https://github.com/libtom/tomsfastmath/releases/tag/v0.13.1 https://github.com/libtom/tomsfastmath/releases/tag/v0.13.0
Diffstat (limited to '')
-rw-r--r--math/tomsfastmath/files/patch-makefile39
1 files changed, 20 insertions, 19 deletions
diff --git a/math/tomsfastmath/files/patch-makefile b/math/tomsfastmath/files/patch-makefile
index 953cd98b809f..86db05cff97a 100644
--- a/math/tomsfastmath/files/patch-makefile
+++ b/math/tomsfastmath/files/patch-makefile
@@ -1,7 +1,23 @@
---- makefile.orig Wed Apr 12 13:16:32 2006
-+++ makefile Wed Apr 12 13:16:48 2006
-@@ -11,7 +11,7 @@ endif
+--- makefile.orig 2017-04-04 10:24:49 UTC
++++ makefile
+@@ -10,12 +10,9 @@ ifndef PREFIX
+ PREFIX=
+ endif
+-ifeq ($(CC),cc)
+- CC = $(PREFIX)gcc
+-endif
+-LD=$(PREFIX)ld
+-AR=$(PREFIX)ar
+-RANLIB=$(PREFIX)ranlib
++LD=ld
++AR=ar
++RANLIB=ranlib
+
+ ifndef MAKE
+ MAKE=make
+@@ -39,7 +36,7 @@ CFLAGS += -g3
+ else
ifndef IGNORE_SPEED
-CFLAGS += -O3 -funroll-loops
@@ -9,7 +25,7 @@
#profiling
#PROF=-pg -g
-@@ -52,11 +52,11 @@ HEADERS=src/headers/tfm.h
+@@ -83,11 +80,11 @@ HEADERS=src/headers/tfm_private.h $(HEAD
#END_INS
ifndef LIBPATH
@@ -23,18 +39,3 @@
endif
ifndef INSTALL_GROUP
-@@ -82,10 +82,10 @@ $(LIBNAME): $(OBJECTS)
- ranlib $@
-
- install: $(LIBNAME)
-- install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(LIBPATH)
-- install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(INCPATH)
-- install -g $(GROUP) -o $(USER) $(LIBNAME) $(DESTDIR)$(LIBPATH)
-- install -g $(GROUP) -o $(USER) $(HEADERS) $(DESTDIR)$(INCPATH)
-+ install -d $(DESTDIR)$(LIBPATH)
-+ install -d $(DESTDIR)$(INCPATH)
-+ install -m 644 $(LIBNAME) $(DESTDIR)$(LIBPATH)
-+ install -m 644 $(HEADERS) $(DESTDIR)$(INCPATH)
-
- mtest/mtest: mtest/mtest.o
- cd mtest ; CFLAGS="$(CFLAGS) -I../" MAKE=${MAKE} ${MAKE} mtest