summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2012-08-14 15:24:51 +0000
committermarino <marino@pkgsrc.org>2012-08-14 15:24:51 +0000
commit3eb096c4d735177bc7f17f90d310b38cda5a4b09 (patch)
tree766ad1d4e4330df1e5aeeb741f478af854bd38e9 /editors
parentcffcf5f867576bb2508f57a5acca7078d2b64843 (diff)
downloadpkgsrc-3eb096c4d735177bc7f17f90d310b38cda5a4b09.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')
-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