Index: head/editors/nvi-devel/Makefile =================================================================== --- head/editors/nvi-devel/Makefile (revision 505765) +++ head/editors/nvi-devel/Makefile (revision 505766) @@ -1,43 +1,43 @@ # Created by: dd # $FreeBSD$ PORTNAME= nvi PORTVERSION= 1.81.6 -PORTREVISION= 12 +PORTREVISION= 13 CATEGORIES= editors MASTER_SITES= ftp://ftp.stack.nl/pub/users/johans/nvi/ MAINTAINER= johans@FreeBSD.org COMMENT= Development snapshot of the world-renown nvi editor CONFLICTS_INSTALL= nvi-m17n-[0-9]* xnview-[0-9]* OPTIONS_DEFINE= EXPANDTAB WIDECHAR OPTIONS_DEFAULT=WIDECHAR WIDECHAR_DESC= Enable wide-character support (UTF-8) EXPANDTAB_DESC= Apply the expandtab option patch WRKSRC= ${WRKDIR}/${DISTNAME}/build.unix GNU_CONFIGURE= yes USE_LDCONFIG= yes USES= bdb iconv libtool ncurses pkgconfig tar:bzip2 CONFIGURE_ARGS+= --with-db-prefix=${LOCALBASE} \ --program-prefix=n CONFIGURE_SCRIPT= ../dist/configure EXPANDTAB_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-expandtab WIDECHAR_CONFIGURE_ON= --enable-widechar CPPFLAGS+= -I${BDB_INCLUDE_DIR} -I${LOCALBASE}/include -I${NCURSESINC} LDFLAGS+= -L${BDB_LIB_DIR} -L${LOCALBASE}/lib post-patch: @${REINPLACE_CMD} -e '/libvi_la_LIBADD =/s,$$, ${ICONV_LIB},' \ ${WRKSRC}/../dist/Makefile.in @${REINPLACE_CMD} -e 's,-ldb,-l${BDB_LIB_NAME},g' \ ${WRKSRC}/../dist/configure post-install: @${RM} ${STAGEDIR}${PREFIX}/man/cat1/*.0 .include Index: head/editors/nvi-devel/files/patch-common__db.h =================================================================== --- head/editors/nvi-devel/files/patch-common__db.h (nonexistent) +++ head/editors/nvi-devel/files/patch-common__db.h (revision 505766) @@ -0,0 +1,16 @@ +https://github.com/handyman5/homebrew/commit/05b62a22b545761870fb1046d1c2c49cdba06b38 +https://trac.macports.org/export/108622/trunk/dports/editors/nvi/files/patch-common__db.h +--- ../common/db.h.orig 2009-09-13 23:17:35.000000000 -0700 ++++ ../common/db.h 2009-09-13 23:18:27.000000000 -0700 +@@ -16,7 +16,10 @@ + (env)->remove(env, path, NULL, flags) + #endif + +-#if DB_VERSION_MAJOR >= 4 && DB_VERSION_MINOR >= 1 ++#if DB_VERSION_MAJOR >= 4 && DB_VERSION_MINOR >= 4 ++#define db_open(db,file,type,flags,mode) \ ++ (db)->open(db, NULL, file, NULL, type, flags | DB_CREATE, mode) ++#elif DB_VERSION_MAJOR >= 4 && DB_VERSION_MINOR >= 1 + #define db_open(db,file,type,flags,mode) \ + (db)->open(db, NULL, file, NULL, type, flags, mode) + #else Property changes on: head/editors/nvi-devel/files/patch-common__db.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property