pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/fricas Handle MACHINE_GNU_PLATFORM when generatin...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d36eee97ba05
branches:  trunk
changeset: 361006:d36eee97ba05
user:      asau <asau%pkgsrc.org@localhost>
date:      Thu Apr 13 13:00:43 2017 +0000

description:
Handle MACHINE_GNU_PLATFORM when generating PLIST.

diffstat:

 math/fricas/options.mk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 4541e8676648 -r d36eee97ba05 math/fricas/options.mk
--- a/math/fricas/options.mk    Thu Apr 13 11:46:33 2017 +0000
+++ b/math/fricas/options.mk    Thu Apr 13 13:00:43 2017 +0000
@@ -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 @@
 # 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)



Home | Main Index | Thread Index | Old Index