summaryrefslogtreecommitdiff
path: root/academic/openmodelica/openmodelica.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/openmodelica/openmodelica.SlackBuild')
-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" \