aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Bo ├śrsted Andresen <zlin@exherbo.org> 2011-10-13 19:25:18 +0000
committerAvatar Bo ├śrsted Andresen <zlin@exherbo.org> 2011-10-13 19:25:18 +0000
commit1053487ae4134de9e3067f2e17a453332b4aa49c (patch)
tree5a78418587e83d3f0a92baa3a0dfa6c9831eb60c
parentcac7bb5aa90885a9628f8cbbf37b16e11a20a9d1 (diff)
downloadpaludis-1053487ae4134de9e3067f2e17a453332b4aa49c.tar.gz
paludis-1053487ae4134de9e3067f2e17a453332b4aa49c.tar.xz
Add git sha1sum to .so names when it's specified.
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index ab3e84a..f6edefb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -52,7 +52,7 @@ dnl }}}
PALUDIS_PC_VERSION="${VERSION_FULL}"
PALUDIS_PC_SLOT="${VERSION_MAJOR}.${VERSION_MINOR}${VERSION_SUFFIX}"
-if test x"$((VERSION_MINOR % 2))" = x"1" ; then
+if test x"$((VERSION_MINOR % 2))" = x"1" || test -n "${GITHEAD}" ; then
PALUDIS_PC_SLOT="${PALUDIS_PC_SLOT}_"`echo ${GITHEAD} | sed -e 's,\(........\(-dirty\)\?\)$,#\1,' -e 's,.*#,,'`
fi