diff options
author | agc <agc> | 2003-01-29 16:23:13 +0000 |
---|---|---|
committer | agc <agc> | 2003-01-29 16:23:13 +0000 |
commit | 2c01ecd6569f904bb0f6fc6e8eb436be3c76f2bb (patch) | |
tree | a433cd86b95625e8ee3e62b5cc6c5864a511f2d2 /editors/vigor | |
parent | 8738046beaa9ec05b3df4ceba57c04dc140250b6 (diff) | |
download | pkgsrc-2c01ecd6569f904bb0f6fc6e8eb436be3c76f2bb.tar.gz |
Use buildlink2.
Also fix build problems - there is a <sys/queue.h> header file bundled
with vigor which will take precedence over the system header, but
lacks some necessary definitions for NetBSD (at least). Remove the
header accordingly.
Diffstat (limited to 'editors/vigor')
-rw-r--r-- | editors/vigor/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/editors/vigor/Makefile b/editors/vigor/Makefile index a9085690009..d7f696c9d6e 100644 --- a/editors/vigor/Makefile +++ b/editors/vigor/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2001/11/15 23:40:32 hubertf Exp $ +# $NetBSD: Makefile,v 1.9 2003/01/29 16:23:13 agc Exp $ # DISTNAME= vigor-0.016 @@ -9,11 +9,10 @@ MAINTAINER= hubertf@netbsd.org HOMEPAGE= http://www.red-bean.com/~joelh/vigor/ COMMENT= nvi with excessive online "help" -DEPENDS+= tk>=8.3.2:../../x11/tk - CONFLICTS+= nvi-[0-9]* USE_X11= yes +USE_BUILDLINK2= yes WRKSRC= ${WRKDIR}/${DISTNAME}/build GNU_CONFIGURE= yes @@ -26,7 +25,14 @@ CONFIGURE_ENV+= ADDCPPFLAGS=" -I${LOCALBASE}/include \ -I${LOCALBASE}/include" \ ADDLDFLAGS=" -L${LOCALBASE}/lib" +.if exists(/usr/include/sys/queue.h) +# this file obscures the system header +post-patch: + ${RM} -f ${WRKSRC}/../include/sys/queue.h +.endif + post-build: nroff -mandoc ${WRKSRC}/../docs/USD.doc/vi.man/vi.1 >${WRKSRC}/../docs/USD.doc/vi.man/vi.0 +.include "../../x11/tk/buildlink2.mk" .include "../../mk/bsd.pkg.mk" |