dev-cpp/ETL: v1.4.1
Package-Manager: Portage-3.0.18, Repoman-3.0.2
This commit is contained in:
28
dev-cpp/ETL/ETL-1.4.1.ebuild
Normal file
28
dev-cpp/ETL/ETL-1.4.1.ebuild
Normal file
@@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="ETL is a multi-platform class and template library"
|
||||
HOMEPAGE="http://synfig.org"
|
||||
SRC_URI="https://github.com/synfig/synfig/releases/download/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-fix-gcc-flags.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
@@ -1 +1,2 @@
|
||||
DIST ETL-1.4.0.tar.gz 271199 BLAKE2B 7741d06589af4b4353bea746beaa1660f3434c528e87bbd65589209d5bd6d6d41326997ff1379a67fb4fe0cc00d3166646e578b85698523d371c35c3e4c941dc SHA512 e94a04a3c2e7c6ce786df984c782f673e1796a33f16b09cba172579a0d5044c369e4c44dc81b2ed35543c121538313dc98a0bc492794d8e6ed9ebe238666abf7
|
||||
DIST ETL-1.4.1.tar.gz 275770 BLAKE2B 5bfe7ff236c2d6b840eb65dc418d010bf36b6c64390bbc06c6c60462d217e28d1a24330dfc05f8ae3478173f8b4bb50b16b671f26ce02c8eaac20b4ef06bb961 SHA512 f40fdf7a15c77542942ed39a1bed4cdaf9d1fe9c50b10b42108d13cbc53827c90aa5fb68c8784ec3f47eb2c806e1c7beb98d55a1dd9e0afe7b480aafd27990ac
|
||||
|
||||
23
dev-cpp/ETL/files/ETL-1.4.1-fix-gcc-flags.patch
Normal file
23
dev-cpp/ETL/files/ETL-1.4.1-fix-gcc-flags.patch
Normal file
@@ -0,0 +1,23 @@
|
||||
Keep sed from mangling our CFLAGS
|
||||
especially -frecord-gcc-flags, which was half removed because it contains -g
|
||||
|
||||
--- a/m4/subs.m4
|
||||
+++ b/m4/subs.m4
|
||||
@@ -77,13 +77,13 @@
|
||||
case "$debug" in
|
||||
yes)
|
||||
debug_flags="-D_DEBUG -g -O0"
|
||||
- CXXFLAGS="`echo $CXXFLAGS | sed s:-O.::` $debug_flags -fno-inline"
|
||||
- CFLAGS="`echo $CFLAGS | sed s:-O.::` $debug_flags"
|
||||
+ CXXFLAGS="${CXXFLAGS} ${debug_flags}"
|
||||
+ CFLAGS="${CFLAGS} ${debug_flags}"
|
||||
;;
|
||||
no|*)
|
||||
debug_flags="-DNDEBUG"
|
||||
- CXXFLAGS="`echo $CXXFLAGS | sed 's:-g[[a-z-]]*\s::g' | sed 's:-g[[a-z-]]*$::'` $debug_flags"
|
||||
- CFLAGS="`echo $CFLAGS | sed 's:-g[[a-z-]]*\s::g' | sed 's:-g[[a-z-]]*$::'` $debug_flags"
|
||||
+ CXXFLAGS="${CXXFLAGS} ${debug_flags}"
|
||||
+ CFLAGS="${CFLAGS} ${debug_flags}"
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user