summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/fricas/options.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/math/fricas/options.mk b/math/fricas/options.mk
index 9884612b2bf..98ed98361f4 100644
--- a/math/fricas/options.mk
+++ b/math/fricas/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.6 2015/08/10 08:13:45 asau Exp $
+# $NetBSD: options.mk,v 1.7 2017/04/13 13:00:43 asau Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.fricas
PKG_OPTIONS_REQUIRED_GROUPS= lisp
@@ -31,6 +31,8 @@ CONFIGURE_ARGS+= --with-lisp=ecl
# Fix suffix for "fast load" files:
PLIST_SUBST+= FASL=${FASL:Q}
+PRINT_PLIST_AWK+= {gsub(/${MACHINE_GNU_PLATFORM}/, "$${MACHINE_GNU_PLATFORM}")}
+
# Generalize "fast load" files
PRINT_PLIST_AWK+= {gsub(/\.${FASL}$$/, ".$${FASL}");}
.if !empty(PKG_OPTIONS:Mclisp)