summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbsiegert <bsiegert>2017-04-16 15:15:50 +0000
committerbsiegert <bsiegert>2017-04-16 15:15:50 +0000
commit2fcd059d151ad33850c5e314c179f624b04a0736 (patch)
tree36bbe15a042d02821bb725eef7566259b87eb23a
parent5bb29a3fa971cb40d7c6bc8d272044216017e7ca (diff)
downloadpkgsrc-2fcd059d151ad33850c5e314c179f624b04a0736.tar.gz
Pullup ticket #5279 - requested by sevan
math/fricas: build fix Revisions pulled up: - math/fricas/options.mk 1.7 --- Module Name: pkgsrc Committed By: asau Date: Thu Apr 13 13:00:43 UTC 2017 Modified Files: pkgsrc/math/fricas: options.mk Log Message: Handle MACHINE_GNU_PLATFORM when generating PLIST.
-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..0ab368e73b3 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.6.14.1 2017/04/16 15:15:50 bsiegert 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)