Mercurial > vanilla
comparison dev/make/make.sh @ 1023:60d881a89c6a
vanilla: fix many dependencies
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 29 Aug 2019 23:55:00 +0200 |
parents | ddab65a5b3f5 |
children | ad3e2cbdcf24 |
comparison
equal
deleted
inserted
replaced
1022:3d175b5fc093 | 1023:60d881a89c6a |
---|---|
17 | 17 |
18 PKGNAME=make | 18 PKGNAME=make |
19 PKGVERSION=4.2.1 | 19 PKGVERSION=4.2.1 |
20 PKGREVISION=1 | 20 PKGREVISION=1 |
21 PKGLICENSE="GPLv3+" | 21 PKGLICENSE="GPLv3+" |
22 PKGSUMMARY="short summary" | 22 PKGSUMMARY="GNU make" |
23 PKGDOWNLOAD="http://ftp.gnu.org/gnu/$PKGNAME/$PKGNAME-$PKGVERSION.tar.gz" | 23 PKGDOWNLOAD="http://ftp.gnu.org/gnu/$PKGNAME/$PKGNAME-$PKGVERSION.tar.gz" |
24 PKGOPTIONS="GUILE NLS" | 24 PKGOPTIONS="GUILE NLS" |
25 | 25 |
26 : ${CHOST:=$(uname -m)-linux-musl} | 26 : ${CHOST:=$(uname -m)-linux-musl} |
27 : ${CBUILD:=$(uname -m)-linux-musl} | 27 : ${CBUILD:=$(uname -m)-linux-musl} |
29 : ${CFLAGS:=-O2} | 29 : ${CFLAGS:=-O2} |
30 : ${CXX:=clang++} | 30 : ${CXX:=clang++} |
31 : ${CXXFLAGS:=-O2} | 31 : ${CXXFLAGS:=-O2} |
32 : ${LDFLAGS:=} | 32 : ${LDFLAGS:=} |
33 : ${LIBS:=} | 33 : ${LIBS:=} |
34 : ${GUILE:=yes} | 34 : ${GUILE:=no} # TODO: add once guile is there |
35 : ${NLS:=yes} | 35 : ${NLS:=yes} |
36 | 36 |
37 if [ "$GUILE" = "yes" ]; then | 37 if [ "$GUILE" = "yes" ]; then |
38 PKGDEPENDS="dev/guile $PKGDEPENDS" | 38 PKGDEPENDS="guile $PKGDEPENDS" |
39 with_nls="--with-guile" | 39 with_nls="--with-guile" |
40 else | 40 else |
41 with_guile="--without-guile" | 41 with_guile="--without-guile" |
42 fi | 42 fi |
43 | 43 |