summaryrefslogtreecommitdiff
path: root/editors/vigor
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2012-08-07 10:47:48 +0000
committermarino <marino@pkgsrc.org>2012-08-07 10:47:48 +0000
commit917e4d81d4e80c99ddbe0e3ae3a94b643760a635 (patch)
treea820c46cfec7520d28108836aa6b9b5c116498b5 /editors/vigor
parent5ab0655c2ce530f2e9873b05b8b34ae452284f3a (diff)
downloadpkgsrc-917e4d81d4e80c99ddbe0e3ae3a94b643760a635.tar.gz
editor/vigor: post-patch operation broke DragonFly
DragonFly replaced CIRCLEQ_* with TAILQ_* a few years back. The system sys/queue.h will not build editors/vigor. The Makefile's post-patch phase removed it's version of queue.h because it masked the system sys/queue.h, which is exactly what is required for DragonFly. Make this post-patch operation system specific: Do it only for non-DragonFly platforms.
Diffstat (limited to 'editors/vigor')
-rw-r--r--editors/vigor/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/editors/vigor/Makefile b/editors/vigor/Makefile
index 9d8a1ef450a..63dd3016d49 100644
--- a/editors/vigor/Makefile
+++ b/editors/vigor/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2012/06/17 02:55:47 dholland Exp $
+# $NetBSD: Makefile,v 1.34 2012/08/07 10:47:48 marino Exp $
#
DISTNAME= vigor-0.016
@@ -52,11 +52,15 @@ BDB_ACCEPTED= db1
.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/tk/buildlink3.mk"
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} != "DragonFly"
.if exists(/usr/include/sys/queue.h)
# this file obscures the system header
+# (Desired for DragonFly which does not have CIRCLEQ macros)
post-patch:
${RM} -f ${WRKSRC}/include/sys/queue.h
.endif
+.endif
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"