diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2016-01-07 22:21:23 +0000 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2016-01-07 22:21:23 +0000 |
commit | f668f17f75738f43db1c7f6769b7225576ab06cc (patch) | |
tree | 52f891f11c053b4ad7fb5ddad468360336076930 | |
parent | b2240cae5eac97392f046effda8998c29305fe7a (diff) | |
download | slackbuilds-f668f17f75738f43db1c7f6769b7225576ab06cc.tar.gz |
academic/openmodelica: Fix build failure.
"cp: cannot stat '././build/include/omc/i486-linux-gnu/omc/antlr3'"
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r-- | academic/openmodelica/openmodelica.SlackBuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/academic/openmodelica/openmodelica.SlackBuild b/academic/openmodelica/openmodelica.SlackBuild index b8c4dd6915..acb8788c92 100644 --- a/academic/openmodelica/openmodelica.SlackBuild +++ b/academic/openmodelica/openmodelica.SlackBuild @@ -69,6 +69,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# https://trac.openmodelica.org/OpenModelica/ticket/3312 +sed \ + -e 's#./\${builddir_inc}/\$(host_short)/omc/antlr3#./\${builddir_inc}/../\$(host_short)/omc/antlr3#' \ + -i Makefile.common + autoconf CFLAGS="$SLKCFLAGS" \ |