summaryrefslogtreecommitdiff
path: root/math/openlibm/files/patch-Makefile
diff options
context:
space:
mode:
authorGleb Popov <arrowd@FreeBSD.org>2021-12-29 12:26:17 +0300
committerGleb Popov <arrowd@FreeBSD.org>2021-12-29 12:26:17 +0300
commitb1be0f33939d54be22e3736aec5d5df4351cb216 (patch)
treebe9c867033cd5d6ca23b493b38e178f345faad01 /math/openlibm/files/patch-Makefile
parentaudio/alsa-utils: fix MANPAGES option (diff)
math/openlibm: Update to 0.8.0
Approved by: maintainer (timeout, email bounce)
Diffstat (limited to 'math/openlibm/files/patch-Makefile')
-rw-r--r--math/openlibm/files/patch-Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/math/openlibm/files/patch-Makefile b/math/openlibm/files/patch-Makefile
index e26bd68873d4..67a52650033d 100644
--- a/math/openlibm/files/patch-Makefile
+++ b/math/openlibm/files/patch-Makefile
@@ -1,6 +1,6 @@
---- Makefile.orig 2018-06-18 21:22:47 UTC
+--- Makefile.orig 2021-09-14 16:35:03 UTC
+++ Makefile
-@@ -83,19 +83,19 @@ openlibm.pc: openlibm.pc.in Make.inc Makefile
+@@ -92,7 +92,7 @@ openlibm.pc: openlibm.pc.in Make.inc Makefile
install-static: libopenlibm.a
mkdir -p $(DESTDIR)$(libdir)
@@ -9,8 +9,13 @@
install-shared: libopenlibm.$(OLM_MAJOR_MINOR_SHLIB_EXT)
mkdir -p $(DESTDIR)$(shlibdir)
+@@ -101,16 +101,16 @@ ifeq ($(OS), WINNT)
+ cp -RpP -f libopenlibm.*$(SHLIB_EXT) $(DESTDIR)$(shlibdir)/
+ cp -RpP -f libopenlibm.*$(SHLIB_EXT).a $(DESTDIR)$(libdir)/
+ else
- cp -RpP -f libopenlibm.*$(SHLIB_EXT)* $(DESTDIR)$(shlibdir)/
+ $(BSD_INSTALL_LIB) libopenlibm.*$(SHLIB_EXT)* $(DESTDIR)$(shlibdir)/
+ endif
install-pkgconfig: openlibm.pc
mkdir -p $(DESTDIR)$(pkgconfigdir)