diff --git a/math/openlibm/Makefile b/math/openlibm/Makefile index e78251b67620..60d45d6fee05 100644 --- a/math/openlibm/Makefile +++ b/math/openlibm/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= openlibm -PORTVERSION= 0.5.1 +PORTVERSION= 0.5.2 DISTVERSIONPREFIX= v CATEGORIES= math MASTER_SITES= GH diff --git a/math/openlibm/distinfo b/math/openlibm/distinfo index 9b8be9029386..51d69e8113d4 100644 --- a/math/openlibm/distinfo +++ b/math/openlibm/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1464004057 -SHA256 (JuliaLang-openlibm-v0.5.1_GH0.tar.gz) = 782a77497071cc450af176bbfebb34834334f6a17de842fe75cd407bbee89f85 -SIZE (JuliaLang-openlibm-v0.5.1_GH0.tar.gz) = 352866 +TIMESTAMP = 1470710614 +SHA256 (JuliaLang-openlibm-v0.5.2_GH0.tar.gz) = f394c90426356c8911333def8cee94971492a94ca94578e61ad857913c80122c +SIZE (JuliaLang-openlibm-v0.5.2_GH0.tar.gz) = 352770 diff --git a/math/openlibm/files/patch-Make.inc b/math/openlibm/files/patch-Make.inc index 3ade339dd716..01416281e094 100644 --- a/math/openlibm/files/patch-Make.inc +++ b/math/openlibm/files/patch-Make.inc @@ -1,13 +1,8 @@ ---- Make.inc.orig 2016-05-23 11:57:41 UTC +--- Make.inc.orig 2016-08-06 15:00:31 UTC +++ Make.inc -@@ -3,11 +3,11 @@ - OS := $(shell uname) - # Do not forget to bump SOMINOR when changing VERSION, - # and SOMAJOR when breaking ABI in a backward-incompatible way --VERSION = 0.5.1-dev -+VERSION = 0.5.1 +@@ -7,7 +7,7 @@ VERSION = 0.5.2 SOMAJOR = 2 - SOMINOR = 2 + SOMINOR = 3 DESTDIR = -prefix = /usr/local +prefix ?= /usr/local diff --git a/math/openlibm/files/patch-Makefile b/math/openlibm/files/patch-Makefile index 211caba29dad..802018741f6e 100644 --- a/math/openlibm/files/patch-Makefile +++ b/math/openlibm/files/patch-Makefile @@ -1,16 +1,27 @@ ---- Makefile.orig 2016-05-23 11:53:14 UTC +--- Makefile.orig 2016-08-06 15:00:31 UTC +++ Makefile -@@ -78,8 +78,8 @@ install: all openlibm.pc - mkdir -p $(DESTDIR)$(shlibdir) - mkdir -p $(DESTDIR)$(pkgconfigdir) - mkdir -p $(DESTDIR)$(includedir)/openlibm -- cp -f -a libopenlibm.*$(SHLIB_EXT)* $(DESTDIR)$(shlibdir)/ +@@ -77,19 +77,19 @@ openlibm.pc: openlibm.pc.in Make.inc Mak + + install-static: libopenlibm.a + mkdir -p $(DESTDIR)$(libdir) - cp -f -a libopenlibm.a $(DESTDIR)$(libdir)/ ++ $(BSD_INSTALL_DATA) libopenlibm.a $(DESTDIR)$(libdir)/ + + install-shared: libopenlibm.$(OLM_MAJOR_MINOR_SHLIB_EXT) + mkdir -p $(DESTDIR)$(shlibdir) +- cp -f -a libopenlibm.*$(SHLIB_EXT)* $(DESTDIR)$(shlibdir)/ ++ $(BSD_INSTALL_LIB) libopenlibm.*$(SHLIB_EXT)* $(DESTDIR)$(shlibdir)/ + + install-pkgconfig: openlibm.pc + mkdir -p $(DESTDIR)$(pkgconfigdir) +- cp -f -a openlibm.pc $(DESTDIR)$(pkgconfigdir)/ ++ $(BSD_INSTALL_DATA) openlibm.pc $(DESTDIR)$(pkgconfigdir)/ + + install-headers: + mkdir -p $(DESTDIR)$(includedir)/openlibm - cp -f -a include/*.h $(DESTDIR)$(includedir)/openlibm - cp -f -a src/*.h $(DESTDIR)$(includedir)/openlibm -- cp -f -a openlibm.pc $(DESTDIR)$(pkgconfigdir)/ -+ ${BSD_INSTALL_LIB} libopenlibm.*$(SHLIB_EXT)* $(DESTDIR)$(shlibdir)/ -+ ${BSD_INSTALL_DATA} libopenlibm.a $(DESTDIR)$(libdir)/ -+ ${BSD_INSTALL_DATA} include/*.h $(DESTDIR)$(includedir)/openlibm -+ ${BSD_INSTALL_DATA} src/*.h $(DESTDIR)$(includedir)/openlibm -+ ${BSD_INSTALL_DATA} openlibm.pc $(DESTDIR)$(pkgconfigdir)/ ++ $(BSD_INSTALL_DATA) include/*.h $(DESTDIR)$(includedir)/openlibm ++ $(BSD_INSTALL_DATA) src/*.h $(DESTDIR)$(includedir)/openlibm + + install: install-static install-shared install-pkgconfig install-headers diff --git a/math/openlibm/pkg-plist b/math/openlibm/pkg-plist index c69421ceefa2..1743f8723af3 100644 --- a/math/openlibm/pkg-plist +++ b/math/openlibm/pkg-plist @@ -21,5 +21,5 @@ include/openlibm/types-compat.h lib/libopenlibm.a lib/libopenlibm.so lib/libopenlibm.so.2 -lib/libopenlibm.so.2.2 +lib/libopenlibm.so.2.3 libdata/pkgconfig/openlibm.pc