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
commitea7ba439980e89136a0774afa51ba421181905b8 (patch)
tree470ea9c617e084aff9d8b31c76cc4f9fbb00954b /editors
parentd29f8a1db9ece54a85e75fd715860e7c6210adc8 (diff)
downloadpkgsrc-ea7ba439980e89136a0774afa51ba421181905b8.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