From 2fcd059d151ad33850c5e314c179f624b04a0736 Mon Sep 17 00:00:00 2001 From: bsiegert Date: Sun, 16 Apr 2017 15:15:50 +0000 Subject: 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. --- math/fricas/options.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3