diff options
author | asau <asau> | 2017-04-13 13:00:43 +0000 |
---|---|---|
committer | asau <asau> | 2017-04-13 13:00:43 +0000 |
commit | c37e315b8abe454a059616aecdb95fb775cc6bd8 (patch) | |
tree | cacdf233d21ec120a68bf8acdafe10709fb2e6fb /math | |
parent | e0c1d25ab849f762e086566bee33061620e97f45 (diff) | |
download | pkgsrc-c37e315b8abe454a059616aecdb95fb775cc6bd8.tar.gz |
Handle MACHINE_GNU_PLATFORM when generating PLIST.
Diffstat (limited to 'math')
-rw-r--r-- | math/fricas/options.mk | 4 |
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) |