summaryrefslogtreecommitdiffstats
path: root/lib/libarchive
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2005-10-14 16:32:50 +0000
committerkientzle <kientzle@FreeBSD.org>2005-10-14 16:32:50 +0000
commit4689ce4625bdafa227d704ba53c41e137260b305 (patch)
treec130e0448eee8d70f853a585ea9e89d832f348d6 /lib/libarchive
parent78d47913b74a6cdf55db37883303fd7ea2c29b52 (diff)
downloadFreeBSD-src-4689ce4625bdafa227d704ba53c41e137260b305.zip
FreeBSD-src-4689ce4625bdafa227d704ba53c41e137260b305.tar.gz
Fix installworld breakage. <sigh>
expr and printf are not available during installworld, so use /bin/sh arithmetic expansion instead of expr and simply give up on vanity formatting. ;-)
Diffstat (limited to 'lib/libarchive')
-rw-r--r--lib/libarchive/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libarchive/Makefile b/lib/libarchive/Makefile
index 1793a6c..447028c 100644
--- a/lib/libarchive/Makefile
+++ b/lib/libarchive/Makefile
@@ -25,10 +25,10 @@ ARCHIVE_API_MINOR= 2
# Bumped often. ;-)
ARCHIVE_API_REVISION= 36
# Full libarchive version combines the above three numbers.
-VERSION!=printf "%d.%02d.%03d" ${ARCHIVE_API_MAJOR} ${ARCHIVE_API_MINOR} ${ARCHIVE_API_REVISION}
+VERSION= ${ARCHIVE_API_MAJOR}.${ARCHIVE_API_MINOR}.${ARCHIVE_API_REVISION}
# The FreeBSD SHLIB_MAJOR is computed from the above values.
-SHLIB_MAJOR!= expr ${ARCHIVE_API_MAJOR} + ${ARCHIVE_API_MINOR}
+SHLIB_MAJOR!= echo $$((${ARCHIVE_API_MAJOR} + ${ARCHIVE_API_MINOR}))
# The SHLIB_MAJOR computation above helps ensure that the libtool
# version (computed in configure.ac.in) provides the same
OpenPOWER on IntegriCloud