summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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() {