summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Mudrak <gentoo@mudrd8mz.net>2021-01-13 11:30:42 +0100
committerJoonas Niilola <juippis@gentoo.org>2021-01-18 16:30:37 +0200
commit903a8796ef233ffc7ad3c272b6306de47899349e (patch)
treec9220ab3af272af74471b4448ceb804b29a60607 /dev-lang/sassc
parentmedia-libs/libplacebo: bump to v2.43.1 (diff)
downloadgentoo-903a8796ef233ffc7ad3c272b6306de47899349e.tar.gz
gentoo-903a8796ef233ffc7ad3c272b6306de47899349e.tar.bz2
gentoo-903a8796ef233ffc7ad3c272b6306de47899349e.zip
dev-lang/sassc: Fix missing sassc version number display
When running `sassc --version` the sassc version was displayed as 'na'. Following the upstream recommendation at https://github.com/sass/sassc/blob/master/docs/building/unix-instructions.md#manually-building-from-tar-sources-via-github do the same thing as dev-libs/libsass has been also doing and inject the version file before building the package. Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: David Mudrak <gentoo@mudrd8mz.net> Closes: https://github.com/gentoo/gentoo/pull/19049 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-lang/sassc')
-rw-r--r--dev-lang/sassc/sassc-3.6.1.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/dev-lang/sassc/sassc-3.6.1.ebuild b/dev-lang/sassc/sassc-3.6.1.ebuild
index 309816f17dd..82d1a97e118 100644
--- a/dev-lang/sassc/sassc-3.6.1.ebuild
+++ b/dev-lang/sassc/sassc-3.6.1.ebuild
@@ -21,5 +21,6 @@ DOCS=( Readme.md )
src_prepare() {
default
+ [[ -f VERSION ]] || echo "${PV}" > VERSION
eautoreconf
}