summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2021-04-06 11:24:05 +0200
committerLars Wendler <polynomial-c@gentoo.org>2021-04-06 11:25:01 +0200
commit73c73dfa01fcedac222d5d188376dd9a58aa164d (patch)
tree7a5c1886b091e6e3702184b9dda2dc8e48317800 /games-engines
parentgames-engines/devilutionx: Bump to version 1.2.0 (diff)
downloadgentoo-73c73dfa01fcedac222d5d188376dd9a58aa164d.tar.gz
gentoo-73c73dfa01fcedac222d5d188376dd9a58aa164d.tar.bz2
gentoo-73c73dfa01fcedac222d5d188376dd9a58aa164d.zip
games-engines/devilutionx: Synced live ebuild
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'games-engines')
-rw-r--r--games-engines/devilutionx/devilutionx-9999.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/games-engines/devilutionx/devilutionx-9999.ebuild b/games-engines/devilutionx/devilutionx-9999.ebuild
index 739888cc60a7..6f93a6c2ac09 100644
--- a/games-engines/devilutionx/devilutionx-9999.ebuild
+++ b/games-engines/devilutionx/devilutionx-9999.ebuild
@@ -51,13 +51,12 @@ src_configure() {
-DDIST="ON"
-DUBSAN="OFF"
)
- cmake_src_configure
if [[ "${PV}" != 9999 ]] ; then
- # Build system still doesn't reliably set release version
- sed "/PROJECT_VERSION/s@-@${PV}@" -i "${BUILD_DIR}/config.h" \
- || die
+ mycmakeargs+=( -DVERSION_NUM="${PV}" )
fi
+
+ cmake_src_configure
}
pkg_postinst() {