summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2017-04-27 13:43:01 +0000
committerwiz <wiz@pkgsrc.org>2017-04-27 13:43:01 +0000
commit6634d6fc5a59cacb19dd7021c18c619fbf110734 (patch)
tree262a44447e528f4836b2fe20c320d0e91095922c
parentcc48324818929536cbf445a894faf20bdb613860 (diff)
downloadpkgsrc-6634d6fc5a59cacb19dd7021c18c619fbf110734.tar.gz
Add PRINT_PLIST_AWK for easier updates.
-rw-r--r--editors/emacs25/Makefile.common4
1 files changed, 3 insertions, 1 deletions
diff --git a/editors/emacs25/Makefile.common b/editors/emacs25/Makefile.common
index 9ab1b8f1821..a04ae71bcb3 100644
--- a/editors/emacs25/Makefile.common
+++ b/editors/emacs25/Makefile.common
@@ -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 @@ SPECIAL_PERMS+= libexec/emacs/${EMACS_VERSION}/${MACHINE_GNU_PLATFORM}/update-g
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.