summaryrefslogtreecommitdiff
path: root/editors/nvi-m17n
diff options
context:
space:
mode:
authormarino <marino>2012-08-14 15:24:51 +0000
committermarino <marino>2012-08-14 15:24:51 +0000
commitd392d673511807a047272e86c63539e6d6b5ac45 (patch)
tree766ad1d4e4330df1e5aeeb741f478af854bd38e9 /editors/nvi-m17n
parent8d5510673e7014fe60d1284e3708d313cebc5804 (diff)
downloadpkgsrc-d392d673511807a047272e86c63539e6d6b5ac45.tar.gz
editors/nvi-m17n: Use provided <sys/queue.h>
DragonFly doesn't have CIRCLEQ_* macros anymore. They were replaced with TAILQ_*. As a result, DragonFly needs the provided sys/queue.h to define them. Also, like NetBSD, it doesn't support streams, so disable pty.
Diffstat (limited to 'editors/nvi-m17n')
-rw-r--r--editors/nvi-m17n/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/editors/nvi-m17n/Makefile b/editors/nvi-m17n/Makefile
index 16b43744350..ae9089c1fbb 100644
--- a/editors/nvi-m17n/Makefile
+++ b/editors/nvi-m17n/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2011/05/11 04:44:36 obache Exp $
+# $NetBSD: Makefile,v 1.46 2012/08/14 15:24:51 marino Exp $
DISTNAME= nvi-1.79
PKGNAME= nvi-m17n-1.79.20040608
@@ -50,14 +50,16 @@ ENCODINGS+= euc-jp euc-cn euc-kr sjis big5 euc-tw hz
.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == "NetBSD"
+.if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly"
# XXX ignore NetBSD 2.0F and later's grantpt(3) and SysV pty for just now
CONFIGURE_ENV+= vi_cv_sys5_pty=no
.endif
post-patch:
-.if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" || \
- ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD"
+# DragonFly has no CIRCLEQ_* so it wants the provided <sys/queue.h>
+.if ${OPSYS} == "NetBSD" || \
+ ${OPSYS} == "FreeBSD" || \
+ ${OPSYS} == "OpenBSD"
${RM} -f ${WRKSRC}/include/sys/queue.h
.endif