summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarino <marino>2012-08-07 10:47:48 +0000
committermarino <marino>2012-08-07 10:47:48 +0000
commit29493253ce997136d9ab169cb21801366ddabf15 (patch)
treea820c46cfec7520d28108836aa6b9b5c116498b5
parent9549307e9840390dd1c9a82fc4ad90c26db7f9e4 (diff)
downloadpkgsrc-29493253ce997136d9ab169cb21801366ddabf15.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.
-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"