pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/editors/emacs25 Add PRINT_PLIST_AWK for easier updates.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c516d0840f7f
branches:  trunk
changeset: 361858:c516d0840f7f
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Apr 27 13:43:01 2017 +0000

description:
Add PRINT_PLIST_AWK for easier updates.

diffstat:

 editors/emacs25/Makefile.common |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r a85f72261b2c -r c516d0840f7f editors/emacs25/Makefile.common
--- a/editors/emacs25/Makefile.common   Thu Apr 27 13:41:16 2017 +0000
+++ b/editors/emacs25/Makefile.common   Thu Apr 27 13:43:01 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.2 2016/12/31 14:16:14 wiz Exp $
+# $NetBSD: Makefile.common,v 1.3 2017/04/27 13:43:01 wiz Exp $
 #
 # used by editors/emacs25/Makefile
 # used by editors/emacs25-nox11/Makefile
@@ -52,6 +52,8 @@
 CHECK_WRKREF_SKIP+=    bin/emacs
 CHECK_WRKREF_SKIP+=    bin/emacs-${EMACS_VERSION}
 
+PRINT_PLIST_AWK+=      { gsub(/${MACHINE_GNU_PLATFORM}/, "$${MACHINE_GNU_PLATFORM}"); }
+
 .if (${OPSYS} == "NetBSD") && \
     !exists(/usr/lib/libgcc_s.so) && !exists(/usr/lib/libgcc.a)
 # NetBSD with native Clang doesn't provide libgcc, everything is in libc.



Home | Main Index | Thread Index | Old Index