diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2022-11-26 16:58:18 +0100 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2022-11-26 16:59:17 +0100 |
commit | 7e09a932e68e8914321a952aee430d5211dafa47 (patch) | |
tree | a88b2a6f96642c6e290ba2ad6512a0e6e6bf12d6 | |
parent | dev-python/trio: Fix incorrect version in metadata (diff) | |
download | gentoo-7e09a932e68e8914321a952aee430d5211dafa47.tar.gz gentoo-7e09a932e68e8914321a952aee430d5211dafa47.tar.bz2 gentoo-7e09a932e68e8914321a952aee430d5211dafa47.zip |
dev-lang/gnucobol: add -g to avoid stripping
Closes: https://bugs.gentoo.org/882763
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
-rw-r--r-- | dev-lang/gnucobol/files/gnucobol-3.1.2-gentoo.patch | 10 | ||||
-rw-r--r-- | dev-lang/gnucobol/gnucobol-3.1.2.ebuild | 9 |
2 files changed, 19 insertions, 0 deletions
diff --git a/dev-lang/gnucobol/files/gnucobol-3.1.2-gentoo.patch b/dev-lang/gnucobol/files/gnucobol-3.1.2-gentoo.patch new file mode 100644 index 000000000000..64c33a2b1dee --- /dev/null +++ b/dev-lang/gnucobol/files/gnucobol-3.1.2-gentoo.patch @@ -0,0 +1,10 @@ +--- a/extras/Makefile.am 2022-11-26 16:51:38.799201541 +0100 ++++ b/extras/Makefile.am 2022-11-26 16:52:00.112873141 +0100 +@@ -30,6 +30,6 @@ + + SUFFIXES = .cob .$(COB_MODULE_EXT) + .cob.$(COB_MODULE_EXT): +- ("$(top_builddir)/pre-inst-env" $(COBC) -m -Wall -O2 -o "$@" "$<" || \ ++ ("$(top_builddir)/pre-inst-env" $(COBC) -m -Wall -O2 -g -o "$@" "$<" || \ + "$(top_builddir)/pre-inst-env" $(COBC) -m -Wall -o "$@" "$<" || \ + "$(top_builddir)/pre-inst-env" $(COBC) -m -Wall -vv -o "$@" "$<") diff --git a/dev-lang/gnucobol/gnucobol-3.1.2.ebuild b/dev-lang/gnucobol/gnucobol-3.1.2.ebuild index 8202373ea8e8..b6419a90cf82 100644 --- a/dev-lang/gnucobol/gnucobol-3.1.2.ebuild +++ b/dev-lang/gnucobol/gnucobol-3.1.2.ebuild @@ -3,6 +3,8 @@ EAPI=8 +inherit autotools + DESCRIPTION="A free/libre COBOL compiler" HOMEPAGE="https://gnucobol.sourceforge.io/" SRC_URI="mirror://sourceforge/${PN}/$(ver_cut 1-2)/${P}.tar.xz" @@ -24,6 +26,13 @@ BDEPEND="sys-devel/libtool" DOCS=( AUTHORS ChangeLog NEWS README README.md ) +PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) + +src_prepare() { + default + eautoreconf +} + src_configure() { econf \ $(use_with berkdb db) \ |