diff options
author | Martin Matuska <mm@FreeBSD.org> | 2012-02-08 12:53:14 +0000 |
---|---|---|
committer | Martin Matuska <mm@FreeBSD.org> | 2012-02-08 12:53:14 +0000 |
commit | 17993d47e9beebea021707962fcdf2387b27cae9 (patch) | |
tree | 28a8e9d81eb7ed48e286dfc384e2e0ffccc238b5 /build/autogen.sh | |
parent | d8b2811c01ad218932b237af23558ab000e58265 (diff) | |
download | src-17993d47e9beebea021707962fcdf2387b27cae9.tar.gz src-17993d47e9beebea021707962fcdf2387b27cae9.zip |
Update vendor libarchive dist to new "release" branch (post 3.0.3)
Git branch: release
Git commit: 9af87742342aa4f37a22ec12c4cc1c82e00ffa2f
Obtained from: https://github.com/libarchive/libarchive.git
Notes
Notes:
svn path=/vendor/libarchive/dist/; revision=231200
Diffstat (limited to 'build/autogen.sh')
-rwxr-xr-x | build/autogen.sh | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/build/autogen.sh b/build/autogen.sh index ad7d245b794a..d82a401f920c 100755 --- a/build/autogen.sh +++ b/build/autogen.sh @@ -40,8 +40,9 @@ cd .. # Clean up the source dir as much as we can. /bin/sh build/clean.sh -# Substitute the integer version into Libarchive's archive.h +# Substitute the versions into Libarchive's archive.h and archive_entry.h perl -p -i -e "s/^(#define\tARCHIVE_VERSION_NUMBER).*/\$1 $VN/" libarchive/archive.h +perl -p -i -e "s/^(#define\tARCHIVE_VERSION_NUMBER).*/\$1 $VN/" libarchive/archive_entry.h perl -p -i -e "s/^(#define\tARCHIVE_VERSION_STRING).*/\$1 \"libarchive $VS\"/" libarchive/archive.h # Substitute versions into configure.ac as well perl -p -i -e 's/(m4_define\(\[LIBARCHIVE_VERSION_S\]),.*\)/$1,['"$VS"'])/' configure.ac @@ -59,10 +60,3 @@ esac autoconf autoheader automake -a -c - -curl 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD' > build/autoconf/config.guess -curl 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD' > build/autoconf/config.sub - -./configure -make distcheck -make dist-zip |