Explorar o código

Psi: Generate version string more carefully

Sergey Ilinykh %!s(int64=8) %!d(string=hai) anos
pai
achega
e5972f395f
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      net-im/psi/psi-9999.ebuild

+ 2 - 1
net-im/psi/psi-9999.ebuild

@@ -152,7 +152,8 @@ src_prepare() {
 		use sql && epatch "${PATCHES_DIR}/dev/psi-new-history.patch"
 
 		vergen="${WORKDIR}/psi-plus/admin/psi-plus-nightly-version"
-		NIGHTLY_VER=$(use webkit && "${vergen}" ./ --webkit || "${vergen}" ./)
+		features="$(use webkit && { use webengine && echo '--webengine' || echo '--webkit'; }) $(use sql && echo '--sql')"
+		NIGHTLY_VER=$("${vergen}" ./ $features)
 		elog "Prepared version: ${NIGHTLY_VER}"
 		echo "${NIGHTLY_VER}" > version