- Update to 0.5.2

PR:		211687
Submitted by:	Iblis Lin <iblis@hs.ntnu.edu.tw> (maintainer)
This commit is contained in:
Li-Wen Hsu 2016-08-09 06:13:32 +00:00
parent e3a271655f
commit 6ca0a78817
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=419900
5 changed files with 31 additions and 25 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= openlibm
PORTVERSION= 0.5.1
PORTVERSION= 0.5.2
DISTVERSIONPREFIX= v
CATEGORIES= math
MASTER_SITES= GH

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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