public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: sci-libs/openlibm/, sci-libs/openlibm/files/
@ 2013-03-03 18:39 Sebastien Fabbro
  0 siblings, 0 replies; 5+ messages in thread
From: Sebastien Fabbro @ 2013-03-03 18:39 UTC (permalink / raw
  To: gentoo-commits

commit:     11ac5238134448ebbc8e481660c405213328052f
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  3 18:06:37 2013 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Sun Mar  3 18:06:37 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=11ac5238

sci-libs/openlibm: Initial import

Package-Manager: portage-2.2.01.21688-prefix

---
 sci-libs/openlibm/ChangeLog                        |   10 +++++
 .../files/openlibm-respect-toolchain.patch         |   32 +++++++++++++++
 sci-libs/openlibm/files/openlibm-soname.patch      |   11 +++++
 sci-libs/openlibm/metadata.xml                     |   18 ++++++++
 sci-libs/openlibm/openlibm-9999.ebuild             |   43 ++++++++++++++++++++
 5 files changed, 114 insertions(+), 0 deletions(-)

diff --git a/sci-libs/openlibm/ChangeLog b/sci-libs/openlibm/ChangeLog
new file mode 100644
index 0000000..8013094
--- /dev/null
+++ b/sci-libs/openlibm/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-libs/openlibm
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*openlibm-9999 (03 Mar 2013)
+
+  03 Mar 2013; Sébastien Fabbro <bicatali@gentoo.org>
+  +files/openlibm-respect-toolchain.patch, +files/openlibm-soname.patch,
+  +metadata.xml, +openlibm-9999.ebuild:
+  sci-libs/openlibm: Initial import

diff --git a/sci-libs/openlibm/files/openlibm-respect-toolchain.patch b/sci-libs/openlibm/files/openlibm-respect-toolchain.patch
new file mode 100644
index 0000000..65bfe21
--- /dev/null
+++ b/sci-libs/openlibm/files/openlibm-respect-toolchain.patch
@@ -0,0 +1,32 @@
+--- Make.inc.orig	2013-03-03 09:36:52.508027474 -0800
++++ Make.inc	2013-03-03 09:51:50.846633962 -0800
+@@ -3,25 +3,16 @@
+ OS = $(shell uname)
+ ARCH = $(shell uname -m)
+ 
+-FC = gfortran
+-FFLAGS += -O3
++CFLAGS_add += -std=c99 -Wall -I$(OPENLIBM_HOME) -I$(OPENLIBM_HOME)/include -I$(OPENLIBM_HOME)/ld80 -I$(OPENLIBM_HOME)/$(ARCH) -I$(OPENLIBM_HOME)/src -DASSEMBLER -D__BSD_VISIBLE -Wno-implicit-function-declaration
+ 
+-USEGCC = 1
+-USECLANG = 0
+-
+-CFLAGS_add += -std=c99 -Wall -O3 -I$(OPENLIBM_HOME) -I$(OPENLIBM_HOME)/include -I$(OPENLIBM_HOME)/ld80 -I$(OPENLIBM_HOME)/$(ARCH) -I$(OPENLIBM_HOME)/src -DASSEMBLER -D__BSD_VISIBLE -Wno-implicit-function-declaration
+-
+-ifeq ($(USECLANG),1)
+-USEGCC = 0
+-CC = clang
++ifneq (,$(findstring clang,$(CC)))
+ CFLAGS_add += -fno-builtin
+ endif
+ 
+-ifeq ($(USEGCC),1)
+-CC = gcc
++ifneq (,$(findstring gcc,$(CC)))
+ CFLAGS_add += -fno-gnu89-inline
+ endif
+-AR = ar
++AR := ar
+ 
+ default: all
+ 

diff --git a/sci-libs/openlibm/files/openlibm-soname.patch b/sci-libs/openlibm/files/openlibm-soname.patch
new file mode 100644
index 0000000..b30caed
--- /dev/null
+++ b/sci-libs/openlibm/files/openlibm-soname.patch
@@ -0,0 +1,11 @@
+--- Makefile.orig	2013-03-03 09:41:33.534481539 -0800
++++ Makefile	2013-03-03 10:00:21.008239835 -0800
+@@ -26,7 +26,7 @@
+ libopenlibm.a: $(OBJS)  
+ 	$(AR) -rcs libopenlibm.a $(OBJS)
+ libopenlibm.$(SHLIB_EXT): $(OBJS)
+-	$(FC) -shared $(OBJS) $(LDFLAGS) -o libopenlibm.$(SHLIB_EXT)
++	$(FC) -shared $(OBJS) $(LDFLAGS) -Wl,--soname=libopenlibm.$(SHLIB_EXT) -o libopenlibm.$(SHLIB_EXT)
+ 
+ distclean:
+ 	rm -f $(OBJS) *.a *.$(SHLIB_EXT)

diff --git a/sci-libs/openlibm/metadata.xml b/sci-libs/openlibm/metadata.xml
new file mode 100644
index 0000000..c42de1e
--- /dev/null
+++ b/sci-libs/openlibm/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<longdescription lang="en">
+  OpenLibm is an effort to have a high quality standalone LIBM
+  library. It is meant to be used standalone in applications and
+  programming language implementations.
+  OpenLibm also includes the AMOS library from Netlib, which is a
+  portable package for Bessel Functions of a Complex Argument and
+  Nonnegative Order. AMOS contains subroutines for computing Bessel
+  functions and Airy functions.
+  The OpenLIBM code derives from the FreeBSD msun implementation, which
+  in turn derives from FDLIBM 5.3. As a result, it has a number of fixes
+  and updates that have accumulated over the years in msun, and also
+  optimized assembly versions of many functions.
+</longdescription>
+</pkgmetadata>

diff --git a/sci-libs/openlibm/openlibm-9999.ebuild b/sci-libs/openlibm/openlibm-9999.ebuild
new file mode 100644
index 0000000..59cfe22
--- /dev/null
+++ b/sci-libs/openlibm/openlibm-9999.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+EGIT_REPO_URI="git://github.com/JuliaLang/openlibm.git"
+
+inherit git-2 eutils fortran-2
+
+DESCRIPTION="High quality system independent, open source libm"
+HOMEPAGE="http://julialang.org/"
+SRC_URI=""
+
+LICENSE="MIT freedist public-domain BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="static-libs"
+
+RDEPEND=""
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+	epatch \
+		"${FILESDIR}"/${PN}-respect-toolchain.patch \
+		"${FILESDIR}"/${PN}-soname.patch
+}
+
+src_compile() {
+	emake libopenlibm.so
+	use static-libs && emake libopenlibm.a
+}
+
+src_test() {
+	emake
+}
+
+src_install() {
+	dolib.so libopenlibm.so
+	use static-libs && dolib.a libopenlibm.a
+	doheader include/{cdefs,types}-compat.h src/openlibm.h
+	dodoc README.md
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-libs/openlibm/, sci-libs/openlibm/files/
@ 2013-07-03  3:19 Guillaume Horel
  0 siblings, 0 replies; 5+ messages in thread
From: Guillaume Horel @ 2013-07-03  3:19 UTC (permalink / raw
  To: gentoo-commits

commit:     044c1843cb2cb90c51d44d9dfa9aad0dc570b78a
Author:     Guillaume Horel <guillaume.horel <AT> gmail <DOT> com>
AuthorDate: Wed Jul  3 03:14:19 2013 +0000
Commit:     Guillaume Horel <guillaume.horel <AT> gmail <DOT> com>
CommitDate: Wed Jul  3 03:14:19 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=044c1843

sci-libs/openlibm update patches

---
 .../openlibm/files/openlibm-respect-toolchain.patch    | 18 ++++++++----------
 sci-libs/openlibm/files/openlibmextras-soname.patch    | 11 +++++++++++
 sci-libs/openlibm/openlibm-9999.ebuild                 |  9 +++++++--
 3 files changed, 26 insertions(+), 12 deletions(-)

diff --git a/sci-libs/openlibm/files/openlibm-respect-toolchain.patch b/sci-libs/openlibm/files/openlibm-respect-toolchain.patch
index 65bfe21..687c8b7 100644
--- a/sci-libs/openlibm/files/openlibm-respect-toolchain.patch
+++ b/sci-libs/openlibm/files/openlibm-respect-toolchain.patch
@@ -1,17 +1,15 @@
---- Make.inc.orig	2013-03-03 09:36:52.508027474 -0800
-+++ Make.inc	2013-03-03 09:51:50.846633962 -0800
-@@ -3,25 +3,16 @@
- OS = $(shell uname)
- ARCH = $(shell uname -m)
+--- Make.inc.orig	2013-07-02 22:11:50.789319117 -0400
++++ Make.inc	2013-07-02 22:15:03.526313473 -0400
+@@ -2,24 +2,15 @@
+ 
+ OS := $(shell uname)
  
 -FC = gfortran
 -FFLAGS += -O3
-+CFLAGS_add += -std=c99 -Wall -I$(OPENLIBM_HOME) -I$(OPENLIBM_HOME)/include -I$(OPENLIBM_HOME)/ld80 -I$(OPENLIBM_HOME)/$(ARCH) -I$(OPENLIBM_HOME)/src -DASSEMBLER -D__BSD_VISIBLE -Wno-implicit-function-declaration
  
 -USEGCC = 1
 -USECLANG = 0
 -
--CFLAGS_add += -std=c99 -Wall -O3 -I$(OPENLIBM_HOME) -I$(OPENLIBM_HOME)/include -I$(OPENLIBM_HOME)/ld80 -I$(OPENLIBM_HOME)/$(ARCH) -I$(OPENLIBM_HOME)/src -DASSEMBLER -D__BSD_VISIBLE -Wno-implicit-function-declaration
 -
 -ifeq ($(USECLANG),1)
 -USEGCC = 0
@@ -26,7 +24,7 @@
  CFLAGS_add += -fno-gnu89-inline
  endif
 -AR = ar
-+AR := ar
- 
- default: all
++AR = :ar
  
+ ARCH := $(shell $(CC) -dumpmachine | sed "s/\([^-]*\).*$$/\1/")
+ ifeq ($(ARCH),mingw32)

diff --git a/sci-libs/openlibm/files/openlibmextras-soname.patch b/sci-libs/openlibm/files/openlibmextras-soname.patch
new file mode 100644
index 0000000..7ee69a2
--- /dev/null
+++ b/sci-libs/openlibm/files/openlibmextras-soname.patch
@@ -0,0 +1,11 @@
+--- Makefile.extras.orig	2013-07-02 22:35:31.150277524 -0400
++++ Makefile.extras	2013-07-02 22:35:56.993276767 -0400
+@@ -25,7 +25,7 @@
+ libopenlibm-extras.a: $(OBJS)  
+ 	$(AR) -rcs libopenlibm-extras.a $(OBJS)
+ libopenlibm-extras.$(SHLIB_EXT): $(OBJS)
+-	$(FC) -shared $(OBJS) $(LDFLAGS) -o libopenlibm-extras.$(SHLIB_EXT)
++	$(FC) -shared $(OBJS) $(LDFLAGS) -Wl,--soname=libopenlibm-extras.$(SHLIB_EXT) -o libopenlibm-extras.$(SHLIB_EXT)
+ 
+ distclean:
+ 	rm -f $(OBJS) *.a *.$(SHLIB_EXT)

diff --git a/sci-libs/openlibm/openlibm-9999.ebuild b/sci-libs/openlibm/openlibm-9999.ebuild
index 59cfe22..434c252 100644
--- a/sci-libs/openlibm/openlibm-9999.ebuild
+++ b/sci-libs/openlibm/openlibm-9999.ebuild
@@ -22,13 +22,16 @@ DEPEND="${RDEPEND}"
 
 src_prepare() {
 	epatch \
-		"${FILESDIR}"/${PN}-respect-toolchain.patch \
-		"${FILESDIR}"/${PN}-soname.patch
+		"${FILESDIR}/${PN}-respect-toolchain.patch" \
+		"${FILESDIR}/${PN}-soname.patch" \
+		"${FILESDIR}/${PN}extras-soname.patch"
 }
 
 src_compile() {
 	emake libopenlibm.so
 	use static-libs && emake libopenlibm.a
+	emake -f Makefile.extras libopenlibm-extras.so
+	use static-libs && emake -f Makefile.extras libopenlibm-extras.a
 }
 
 src_test() {
@@ -37,7 +40,9 @@ src_test() {
 
 src_install() {
 	dolib.so libopenlibm.so
+	dolib.so libopenlibm-extras.so
 	use static-libs && dolib.a libopenlibm.a
+	use static-libs && dolib.so liboenlibm-extras.a
 	doheader include/{cdefs,types}-compat.h src/openlibm.h
 	dodoc README.md
 }


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-libs/openlibm/, sci-libs/openlibm/files/
@ 2013-07-16 23:00 Sebastien Fabbro
  0 siblings, 0 replies; 5+ messages in thread
From: Sebastien Fabbro @ 2013-07-16 23:00 UTC (permalink / raw
  To: gentoo-commits

commit:     c6cd291e3de49609ecffdb3014bbd4896cd3f0ad
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 16 23:00:23 2013 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Tue Jul 16 23:00:23 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=c6cd291e

sci-libs/openlibm: Updated patches with new upstream

Package-Manager: portage-2.2.01.22124-prefix

---
 sci-libs/openlibm/ChangeLog                        |  6 ++++
 ...s-soname.patch => openlibm-extras-soname.patch} |  0
 .../files/openlibm-respect-toolchain.patch         | 34 +++++++++++++++-------
 sci-libs/openlibm/files/openlibm-soname.patch      |  4 +--
 sci-libs/openlibm/openlibm-9999.ebuild             |  6 ++--
 5 files changed, 34 insertions(+), 16 deletions(-)

diff --git a/sci-libs/openlibm/ChangeLog b/sci-libs/openlibm/ChangeLog
index 8013094..244b380 100644
--- a/sci-libs/openlibm/ChangeLog
+++ b/sci-libs/openlibm/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  16 Jul 2013; Sébastien Fabbro <bicatali@gentoo.org>
+  +files/openlibm-extras-soname.patch, -files/openlibmextras-soname.patch,
+  files/openlibm-respect-toolchain.patch, files/openlibm-soname.patch,
+  openlibm-9999.ebuild:
+  sci-libs/openlibm: Updated patches with new upstream
+
 *openlibm-9999 (03 Mar 2013)
 
   03 Mar 2013; Sébastien Fabbro <bicatali@gentoo.org>

diff --git a/sci-libs/openlibm/files/openlibmextras-soname.patch b/sci-libs/openlibm/files/openlibm-extras-soname.patch
similarity index 100%
rename from sci-libs/openlibm/files/openlibmextras-soname.patch
rename to sci-libs/openlibm/files/openlibm-extras-soname.patch

diff --git a/sci-libs/openlibm/files/openlibm-respect-toolchain.patch b/sci-libs/openlibm/files/openlibm-respect-toolchain.patch
index 687c8b7..365aa17 100644
--- a/sci-libs/openlibm/files/openlibm-respect-toolchain.patch
+++ b/sci-libs/openlibm/files/openlibm-respect-toolchain.patch
@@ -1,30 +1,42 @@
---- Make.inc.orig	2013-07-02 22:11:50.789319117 -0400
-+++ Make.inc	2013-07-02 22:15:03.526313473 -0400
-@@ -2,24 +2,15 @@
+--- Make.inc.orig	2013-07-16 15:50:21.227405299 -0700
++++ Make.inc	2013-07-16 15:52:17.539087715 -0700
+@@ -2,26 +2,18 @@
  
  OS := $(shell uname)
  
 -FC = gfortran
 -FFLAGS += -O3
++FC := gfortran
  
 -USEGCC = 1
 -USECLANG = 0
+ 
+-ifeq ($(OS), Darwin)
+-USEGCC = 0
+-USECLANG = 1
+-endif
 -
--
+-AR = ar
++AR := ar
+ 
 -ifeq ($(USECLANG),1)
--USEGCC = 0
--CC = clang
 +ifneq (,$(findstring clang,$(CC)))
+ USEGCC = 0
+ CC = clang
  CFLAGS_add += -fno-builtin
  endif
  
 -ifeq ($(USEGCC),1)
--CC = gcc
 +ifneq (,$(findstring gcc,$(CC)))
+ CC = gcc
  CFLAGS_add += -fno-gnu89-inline
  endif
--AR = ar
-+AR = :ar
+@@ -31,7 +23,7 @@
+ $(error "the mingw32 compiler you are using fails the openblas testsuite. please see the Julia README.windows.md document for a replacement")
+ endif
+ 
+-CFLAGS_add += -std=c99 -Wall -O3 -I$(OPENLIBM_HOME) -I$(OPENLIBM_HOME)/include -I$(OPENLIBM_HOME)/ld80 -I$(OPENLIBM_HOME)/$(ARCH) -I$(OPENLIBM_HOME)/src -DASSEMBLER -D__BSD_VISIBLE -Wno-implicit-function-declaration
++CFLAGS_add += -std=c99 -Wall -I$(OPENLIBM_HOME) -I$(OPENLIBM_HOME)/include -I$(OPENLIBM_HOME)/ld80 -I$(OPENLIBM_HOME)/$(ARCH) -I$(OPENLIBM_HOME)/src -DASSEMBLER -D__BSD_VISIBLE -Wno-implicit-function-declaration
+ 
+ default: all
  
- ARCH := $(shell $(CC) -dumpmachine | sed "s/\([^-]*\).*$$/\1/")
- ifeq ($(ARCH),mingw32)

diff --git a/sci-libs/openlibm/files/openlibm-soname.patch b/sci-libs/openlibm/files/openlibm-soname.patch
index b30caed..8852e0a 100644
--- a/sci-libs/openlibm/files/openlibm-soname.patch
+++ b/sci-libs/openlibm/files/openlibm-soname.patch
@@ -1,5 +1,5 @@
---- Makefile.orig	2013-03-03 09:41:33.534481539 -0800
-+++ Makefile	2013-03-03 10:00:21.008239835 -0800
+--- Makefile.orig	2013-07-16 15:55:33.481244590 -0700
++++ Makefile	2013-07-16 15:56:15.535491859 -0700
 @@ -26,7 +26,7 @@
  libopenlibm.a: $(OBJS)  
  	$(AR) -rcs libopenlibm.a $(OBJS)

diff --git a/sci-libs/openlibm/openlibm-9999.ebuild b/sci-libs/openlibm/openlibm-9999.ebuild
index 434c252..14f6b96 100644
--- a/sci-libs/openlibm/openlibm-9999.ebuild
+++ b/sci-libs/openlibm/openlibm-9999.ebuild
@@ -22,9 +22,9 @@ DEPEND="${RDEPEND}"
 
 src_prepare() {
 	epatch \
-		"${FILESDIR}/${PN}-respect-toolchain.patch" \
-		"${FILESDIR}/${PN}-soname.patch" \
-		"${FILESDIR}/${PN}extras-soname.patch"
+		"${FILESDIR}"/${PN}-respect-toolchain.patch \
+		"${FILESDIR}"/${PN}-soname.patch \
+		"${FILESDIR}"/${PN}-extras-soname.patch
 }
 
 src_compile() {


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-libs/openlibm/, sci-libs/openlibm/files/
@ 2014-01-18  7:38 Justin Lecher
  0 siblings, 0 replies; 5+ messages in thread
From: Justin Lecher @ 2014-01-18  7:38 UTC (permalink / raw
  To: gentoo-commits

commit:     c577de8fdefa418cb1947d4c305817939039b362
Author:     Uwe L. Korn <uwelk <AT> xhochy <DOT> com>
AuthorDate: Tue Jan 14 23:25:09 2014 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Jan 18 07:38:34 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=c577de8f

[sci-libs/openlibm] Remove extras and soname patch

Package-Manager: portage-2.2.7

---
 sci-libs/openlibm/ChangeLog                          |  4 ++++
 sci-libs/openlibm/files/openlibm-extras-soname.patch | 11 -----------
 sci-libs/openlibm/files/openlibm-soname.patch        | 11 -----------
 sci-libs/openlibm/openlibm-9999.ebuild               | 10 +++-------
 4 files changed, 7 insertions(+), 29 deletions(-)

diff --git a/sci-libs/openlibm/ChangeLog b/sci-libs/openlibm/ChangeLog
index 72d9663..6807d38 100644
--- a/sci-libs/openlibm/ChangeLog
+++ b/sci-libs/openlibm/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  14 Jan 2014;  <xhochy@gentoo.org> -files/openlibm-extras-soname.patch,
+  -files/openlibm-soname.patch, openlibm-9999.ebuild:
+  [sci-libs/openlibm] Remove extras and soname patch
+
   06 Jan 2014; Justin Lecher <jlec@gentoo.org> openlibm-9999.ebuild,
   metadata.xml:
   Switch from git-2 to git-r3

diff --git a/sci-libs/openlibm/files/openlibm-extras-soname.patch b/sci-libs/openlibm/files/openlibm-extras-soname.patch
deleted file mode 100644
index 7ee69a2..0000000
--- a/sci-libs/openlibm/files/openlibm-extras-soname.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.extras.orig	2013-07-02 22:35:31.150277524 -0400
-+++ Makefile.extras	2013-07-02 22:35:56.993276767 -0400
-@@ -25,7 +25,7 @@
- libopenlibm-extras.a: $(OBJS)  
- 	$(AR) -rcs libopenlibm-extras.a $(OBJS)
- libopenlibm-extras.$(SHLIB_EXT): $(OBJS)
--	$(FC) -shared $(OBJS) $(LDFLAGS) -o libopenlibm-extras.$(SHLIB_EXT)
-+	$(FC) -shared $(OBJS) $(LDFLAGS) -Wl,--soname=libopenlibm-extras.$(SHLIB_EXT) -o libopenlibm-extras.$(SHLIB_EXT)
- 
- distclean:
- 	rm -f $(OBJS) *.a *.$(SHLIB_EXT)

diff --git a/sci-libs/openlibm/files/openlibm-soname.patch b/sci-libs/openlibm/files/openlibm-soname.patch
deleted file mode 100644
index 8852e0a..0000000
--- a/sci-libs/openlibm/files/openlibm-soname.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.orig	2013-07-16 15:55:33.481244590 -0700
-+++ Makefile	2013-07-16 15:56:15.535491859 -0700
-@@ -26,7 +26,7 @@
- libopenlibm.a: $(OBJS)  
- 	$(AR) -rcs libopenlibm.a $(OBJS)
- libopenlibm.$(SHLIB_EXT): $(OBJS)
--	$(FC) -shared $(OBJS) $(LDFLAGS) -o libopenlibm.$(SHLIB_EXT)
-+	$(FC) -shared $(OBJS) $(LDFLAGS) -Wl,--soname=libopenlibm.$(SHLIB_EXT) -o libopenlibm.$(SHLIB_EXT)
- 
- distclean:
- 	rm -f $(OBJS) *.a *.$(SHLIB_EXT)

diff --git a/sci-libs/openlibm/openlibm-9999.ebuild b/sci-libs/openlibm/openlibm-9999.ebuild
index 3d58a72..a2b5442 100644
--- a/sci-libs/openlibm/openlibm-9999.ebuild
+++ b/sci-libs/openlibm/openlibm-9999.ebuild
@@ -18,16 +18,12 @@ IUSE="static-libs"
 
 src_prepare() {
 	epatch \
-		"${FILESDIR}"/${PN}-respect-toolchain.patch \
-		"${FILESDIR}"/${PN}-soname.patch \
-		"${FILESDIR}"/${PN}-extras-soname.patch
+		"${FILESDIR}"/${PN}-respect-toolchain.patch
 }
 
 src_compile() {
 	emake libopenlibm.so
 	use static-libs && emake libopenlibm.a
-	emake -f Makefile.extras libopenlibm-extras.so
-	use static-libs && emake -f Makefile.extras libopenlibm-extras.a
 }
 
 src_test() {
@@ -35,8 +31,8 @@ src_test() {
 }
 
 src_install() {
-	dolib.so libopenlibm.so libopenlibm-extras.so
-	use static-libs && dolib.a libopenlibm.a liboenlibm-extras.a
+	dolib.so libopenlibm.so*
+	use static-libs && dolib.a libopenlibm.a
 	doheader include/{cdefs,types}-compat.h src/openlibm.h
 	dodoc README.md
 }


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-libs/openlibm/, sci-libs/openlibm/files/
@ 2014-01-18  7:39 Justin Lecher
  0 siblings, 0 replies; 5+ messages in thread
From: Justin Lecher @ 2014-01-18  7:39 UTC (permalink / raw
  To: gentoo-commits

commit:     194eb9b77a58e174ac8b9b50807010df5586970a
Author:     Uwe L. Korn <uwelk <AT> xhochy <DOT> com>
AuthorDate: Tue Jan 14 23:25:09 2014 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Jan 16 13:09:19 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=194eb9b7

[sci-libs/openlibm] Remove extras and soname patch

Package-Manager: portage-2.2.7

---
 sci-libs/openlibm/ChangeLog                          |  4 ++++
 sci-libs/openlibm/files/openlibm-extras-soname.patch | 11 -----------
 sci-libs/openlibm/files/openlibm-soname.patch        | 11 -----------
 sci-libs/openlibm/openlibm-9999.ebuild               | 10 +++-------
 4 files changed, 7 insertions(+), 29 deletions(-)

diff --git a/sci-libs/openlibm/ChangeLog b/sci-libs/openlibm/ChangeLog
index 72d9663..6807d38 100644
--- a/sci-libs/openlibm/ChangeLog
+++ b/sci-libs/openlibm/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  14 Jan 2014;  <xhochy@gentoo.org> -files/openlibm-extras-soname.patch,
+  -files/openlibm-soname.patch, openlibm-9999.ebuild:
+  [sci-libs/openlibm] Remove extras and soname patch
+
   06 Jan 2014; Justin Lecher <jlec@gentoo.org> openlibm-9999.ebuild,
   metadata.xml:
   Switch from git-2 to git-r3

diff --git a/sci-libs/openlibm/files/openlibm-extras-soname.patch b/sci-libs/openlibm/files/openlibm-extras-soname.patch
deleted file mode 100644
index 7ee69a2..0000000
--- a/sci-libs/openlibm/files/openlibm-extras-soname.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.extras.orig	2013-07-02 22:35:31.150277524 -0400
-+++ Makefile.extras	2013-07-02 22:35:56.993276767 -0400
-@@ -25,7 +25,7 @@
- libopenlibm-extras.a: $(OBJS)  
- 	$(AR) -rcs libopenlibm-extras.a $(OBJS)
- libopenlibm-extras.$(SHLIB_EXT): $(OBJS)
--	$(FC) -shared $(OBJS) $(LDFLAGS) -o libopenlibm-extras.$(SHLIB_EXT)
-+	$(FC) -shared $(OBJS) $(LDFLAGS) -Wl,--soname=libopenlibm-extras.$(SHLIB_EXT) -o libopenlibm-extras.$(SHLIB_EXT)
- 
- distclean:
- 	rm -f $(OBJS) *.a *.$(SHLIB_EXT)

diff --git a/sci-libs/openlibm/files/openlibm-soname.patch b/sci-libs/openlibm/files/openlibm-soname.patch
deleted file mode 100644
index 8852e0a..0000000
--- a/sci-libs/openlibm/files/openlibm-soname.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.orig	2013-07-16 15:55:33.481244590 -0700
-+++ Makefile	2013-07-16 15:56:15.535491859 -0700
-@@ -26,7 +26,7 @@
- libopenlibm.a: $(OBJS)  
- 	$(AR) -rcs libopenlibm.a $(OBJS)
- libopenlibm.$(SHLIB_EXT): $(OBJS)
--	$(FC) -shared $(OBJS) $(LDFLAGS) -o libopenlibm.$(SHLIB_EXT)
-+	$(FC) -shared $(OBJS) $(LDFLAGS) -Wl,--soname=libopenlibm.$(SHLIB_EXT) -o libopenlibm.$(SHLIB_EXT)
- 
- distclean:
- 	rm -f $(OBJS) *.a *.$(SHLIB_EXT)

diff --git a/sci-libs/openlibm/openlibm-9999.ebuild b/sci-libs/openlibm/openlibm-9999.ebuild
index 3d58a72..a2b5442 100644
--- a/sci-libs/openlibm/openlibm-9999.ebuild
+++ b/sci-libs/openlibm/openlibm-9999.ebuild
@@ -18,16 +18,12 @@ IUSE="static-libs"
 
 src_prepare() {
 	epatch \
-		"${FILESDIR}"/${PN}-respect-toolchain.patch \
-		"${FILESDIR}"/${PN}-soname.patch \
-		"${FILESDIR}"/${PN}-extras-soname.patch
+		"${FILESDIR}"/${PN}-respect-toolchain.patch
 }
 
 src_compile() {
 	emake libopenlibm.so
 	use static-libs && emake libopenlibm.a
-	emake -f Makefile.extras libopenlibm-extras.so
-	use static-libs && emake -f Makefile.extras libopenlibm-extras.a
 }
 
 src_test() {
@@ -35,8 +31,8 @@ src_test() {
 }
 
 src_install() {
-	dolib.so libopenlibm.so libopenlibm-extras.so
-	use static-libs && dolib.a libopenlibm.a liboenlibm-extras.a
+	dolib.so libopenlibm.so*
+	use static-libs && dolib.a libopenlibm.a
 	doheader include/{cdefs,types}-compat.h src/openlibm.h
 	dodoc README.md
 }


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-01-18  7:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-03  3:19 [gentoo-commits] proj/sci:master commit in: sci-libs/openlibm/, sci-libs/openlibm/files/ Guillaume Horel
  -- strict thread matches above, loose matches on Subject: below --
2014-01-18  7:39 Justin Lecher
2014-01-18  7:38 Justin Lecher
2013-07-16 23:00 Sebastien Fabbro
2013-03-03 18:39 Sebastien Fabbro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox