summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorwiz <wiz>2017-04-27 13:43:01 +0000
committerwiz <wiz>2017-04-27 13:43:01 +0000
commit242eb137aa3cc310afadab34c7f2b2e32c8ec7ec (patch)
tree82e34b543c71b563fbec382e8740a8c3b20e8840 /editors
parent1a4e8f945314cc00cf0070ed515fcec9d45f0e4d (diff)
downloadpkgsrc-242eb137aa3cc310afadab34c7f2b2e32c8ec7ec.tar.gz
Add PRINT_PLIST_AWK for easier updates.
Diffstat (limited to 'editors')
-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.