summaryrefslogtreecommitdiff
path: root/editors/nvi-m17n
diff options
context:
space:
mode:
authoritojun <itojun>2002-11-09 01:58:29 +0000
committeritojun <itojun>2002-11-09 01:58:29 +0000
commit28202abc7128a16bc08f275eeb011c197b0c242f (patch)
tree68b699aad1915142887b04fc6d914ba24a9719a5 /editors/nvi-m17n
parentfa550dff6d719c64532d2e0fd08fcdc90310f3fd (diff)
downloadpkgsrc-28202abc7128a16bc08f275eeb011c197b0c242f.tar.gz
use /usr/include/sys/queue.h for netbsd, to make other include file happy
Diffstat (limited to 'editors/nvi-m17n')
-rw-r--r--editors/nvi-m17n/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/editors/nvi-m17n/Makefile b/editors/nvi-m17n/Makefile
index ccc2e6a0a95..8f88e5c0b4b 100644
--- a/editors/nvi-m17n/Makefile
+++ b/editors/nvi-m17n/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2002/10/25 12:34:08 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2002/11/09 01:58:29 itojun Exp $
# FreeBSD Id: Makefile,v 1.11 1999/04/17 10:51:03 itojun Exp
DISTNAME= nvi-1.79
@@ -55,6 +55,11 @@ AUTODETECT.iso-2022-kr=kr
ENCODING+= iso-2022-cn iso-2022-jp iso-2022-kr
ENCODING+= euc-jp euc-cn euc-kr sjis big5 euc-tw hz
+post-patch:
+.if ${OPSYS} == "NetBSD"
+ ${RM} -f ${WRKSRC}/../include/sys/queue.h
+.endif
+
post-build:
.for encoding in ${ENCODING}
@${SED} -e 's|$${CANNA_OPT}|${CANNA_OPT.${encoding}}|' \