summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-01-28 23:57:02 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-01-28 23:57:02 (GMT)
commit15da72b273012385133ae43ad45239b22e6aae81 (patch)
tree84bf38e92f7c385c9d730b4274e6b4b2b1ee56dc /scripts
parent7817bcebe7e1921ffd00a421208470d22ffcb1bc (diff)
comptools: add make-3.81
Since the advent of make-3.82, some packages now break due to changes in make-3.82, being stricter than 3.81 when interpreting the Makefiles. This has bugged us a bit too much so far, and I believe fixing all of them is a long road, while simply building make-3.81 is the easiest route for now. Of course, in the long term, packages will get fixed upstream, and we should back-port the fixes to old versions, and get rid of building make-3.81. In the meantime... Reported several times on the mailing list. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build/companion_tools/050-make.sh26
1 files changed, 26 insertions, 0 deletions
diff --git a/scripts/build/companion_tools/050-make.sh b/scripts/build/companion_tools/050-make.sh
new file mode 100644
index 0000000..fd9c288
--- /dev/null
+++ b/scripts/build/companion_tools/050-make.sh
@@ -0,0 +1,26 @@
+# Build script for make
+
+CT_MAKE_VERSION=3.81
+
+do_companion_tools_make_get() {
+ CT_GetFile "make-${CT_MAKE_VERSION}" \
+ {http,ftp}://ftp.gnu.org/gnu/make
+}
+
+do_companion_tools_make_extract() {
+ CT_Extract "make-${CT_MAKE_VERSION}"
+ CT_Patch "make" "${CT_MAKE_VERSION}"
+}
+
+do_companion_tools_make_build() {
+ CT_DoStep EXTRA "Installing make"
+ mkdir -p "${CT_BUILD_DIR}/build-make"
+ CT_Pushd "${CT_BUILD_DIR}/build-make"
+
+ CT_DoExecLog CFG "${CT_SRC_DIR}/make-${CT_MAKE_VERSION}/configure" \
+ --prefix="${CT_TOOLS_OVERIDE_DIR}"
+ CT_DoExecLog ALL make
+ CT_DoExecLog ALL make install
+ CT_Popd
+ CT_EndStep
+}