diff options
author | Sam James <sam@gentoo.org> | 2021-04-03 21:27:15 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-03 21:27:15 +0000 |
commit | 006f86c313c1e8ddcb801e39e7c0b6296b0c4e92 (patch) | |
tree | 3f195c9353f696843f70b63559f70d80622b8daa /app-misc | |
parent | app-misc/nut: port to EAPI 7 (diff) | |
download | gentoo-006f86c313c1e8ddcb801e39e7c0b6296b0c4e92.tar.gz gentoo-006f86c313c1e8ddcb801e39e7c0b6296b0c4e92.tar.bz2 gentoo-006f86c313c1e8ddcb801e39e7c0b6296b0c4e92.zip |
app-misc/regionset: EAPI 7, CPPFLAGS
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/regionset/regionset-0.2.ebuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app-misc/regionset/regionset-0.2.ebuild b/app-misc/regionset/regionset-0.2.ebuild index ccfb8796d511..6986cf9d3f32 100644 --- a/app-misc/regionset/regionset-0.2.ebuild +++ b/app-misc/regionset/regionset-0.2.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 inherit toolchain-funcs @@ -12,14 +12,14 @@ SRC_URI="http://linvdr.org/download/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc x86" -IUSE="" src_prepare() { + default sed "/^\.IR/s@${PN}@${PF}@" -i ${PN}.8 || die } src_compile() { - $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o ${PN} ${PN}.c dvd_udf.c || die + $(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o ${PN} ${PN}.c dvd_udf.c || die } src_install() { @@ -29,7 +29,7 @@ src_install() { } pkg_postinst() { - ewarn "By default regionset uses /dev/dvd, specify a different device" + ewarn "By default, regionset uses /dev/dvd, specify a different device" ewarn "as a command line argument if you need to. You need write access" ewarn "to do this, preferably as root." ewarn |