summaryrefslogtreecommitdiff
path: root/academic/openmodelica
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-01-07 22:21:23 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2016-01-07 22:21:23 +0000
commitf668f17f75738f43db1c7f6769b7225576ab06cc (patch)
tree52f891f11c053b4ad7fb5ddad468360336076930 /academic/openmodelica
parentb2240cae5eac97392f046effda8998c29305fe7a (diff)
downloadslackbuilds-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>
Diffstat (limited to 'academic/openmodelica')
-rw-r--r--academic/openmodelica/openmodelica.SlackBuild5
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" \