summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authortron <tron>2008-11-14 16:05:15 +0000
committertron <tron>2008-11-14 16:05:15 +0000
commitdea4bcbd6eee781f027820023d7a7677f192fc0b (patch)
tree470ea9c617e084aff9d8b31c76cc4f9fbb00954b /editors
parent4457e894f9ec1213a42522503215c3f6d92013c0 (diff)
downloadpkgsrc-dea4bcbd6eee781f027820023d7a7677f192fc0b.tar.gz
The work around for PR pkg/39778 is also necessary under NetBSD 5.0_BETA
and newer.
Diffstat (limited to 'editors')
-rw-r--r--editors/emacs/hacks.mk14
1 files changed, 11 insertions, 3 deletions
diff --git a/editors/emacs/hacks.mk b/editors/emacs/hacks.mk
index 3f76114a3b6..6a756a6f507 100644
--- a/editors/emacs/hacks.mk
+++ b/editors/emacs/hacks.mk
@@ -1,9 +1,17 @@
-# $NetBSD: hacks.mk,v 1.1 2008/10/30 03:57:06 minskim Exp $
+# $NetBSD: hacks.mk,v 1.2 2008/11/14 16:05:15 tron Exp $
+
+.if !defined(EMACS_HACKS_MK)
+EMACS_HACKS_MK= # defined
+
###
-### Workaround for PR 39778
+### Workaround for PR pkg/39778
###
-.if !empty(MACHINE_PLATFORM:MNetBSD-4.99.*-x86_64)
+. include "../../mk/bsd.fast.prefs.mk"
+. if !empty(MACHINE_PLATFORM:MNetBSD-4.99.*-x86_64) || \
+ !empty(MACHINE_PLATFORM:MNetBSD-[5-9].*-x86_64)
pre-build:
${TOUCH} ${WRKSRC}/leim/quail/tsang-b5.el
+. endif
+
.endif