diff options
author | hans <hans@pkgsrc.org> | 2012-03-07 16:53:35 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2012-03-07 16:53:35 +0000 |
commit | cb609be41c1fbe5c54487c117ea5dfb8e2a74b5e (patch) | |
tree | 0e98b8c0b8a24b9669050c6a6e21a92951384ad7 /editors/vigor/Makefile | |
parent | 50775ee9706ad25e795c8a9bd301d92763d81fbc (diff) | |
download | pkgsrc-cb609be41c1fbe5c54487c117ea5dfb8e2a74b5e.tar.gz |
Fix build on SunOS.
- uses db1, so include bdb.buildlink3.mk etc.
- don't build catpage
Diffstat (limited to 'editors/vigor/Makefile')
-rw-r--r-- | editors/vigor/Makefile | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/editors/vigor/Makefile b/editors/vigor/Makefile index ee92b9187bb..9a51a0853ff 100644 --- a/editors/vigor/Makefile +++ b/editors/vigor/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.28 2010/01/29 20:02:25 joerg Exp $ +# $NetBSD: Makefile,v 1.29 2012/03/07 16:53:35 hans Exp $ # DISTNAME= vigor-0.016 @@ -16,6 +16,9 @@ INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} CONFLICTS+= nvi-[0-9]* +USE_DB185= yes +LDFLAGS+= ${BDB_LIBS} + GNU_CONFIGURE= yes CONFIGURE_DIRS= build CONFIGURE_ENV+= TCLCONFIG_SH=${TCLCONFIG_SH:Q} @@ -30,6 +33,14 @@ BUILD_DIRS= ${CONFIGURE_DIRS} BUILDLINK_DEPMETHOD.libXt?= build +.if empty(USE_BUILTIN:M[yY][eE][sS]) +SUBST_CLASSES+= db185 +SUBST_STAGE.db185= post-extract +SUBST_MESSAGE.db185= Using db_185.h instead of db.h +SUBST_FILES.db185= common/common.h +SUBST_SED.db185= -e '/^\#include <db\.h>/s/db\.h/db_185.h/' +.endif + .include "../../lang/tcl/buildlink3.mk" .include "../../x11/libXt/buildlink3.mk" .include "../../x11/tk/buildlink3.mk" @@ -40,7 +51,5 @@ 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 "../../mk/bdb.buildlink3.mk" .include "../../mk/bsd.pkg.mk" |