From owner-svn-ports-all@FreeBSD.ORG Sun Feb 9 16:36:36 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 064A5BE4; Sun, 9 Feb 2014 16:36:36 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E4F5712E9; Sun, 9 Feb 2014 16:36:35 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s19GaZJV011704; Sun, 9 Feb 2014 16:36:35 GMT (envelope-from johans@svn.freebsd.org) Received: (from johans@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s19GaZvU011701; Sun, 9 Feb 2014 16:36:35 GMT (envelope-from johans@svn.freebsd.org) Message-Id: <201402091636.s19GaZvU011701@svn.freebsd.org> From: Johan van Selst Date: Sun, 9 Feb 2014 16:36:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r343519 - in head/editors/nvi-devel: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Feb 2014 16:36:36 -0000 Author: johans Date: Sun Feb 9 16:36:35 2014 New Revision: 343519 URL: http://svnweb.freebsd.org/changeset/ports/343519 QAT: https://qat.redports.org/buildarchive/r343519/ Log: - Convert USE_AUTOTOOLS=libtool to USES=libtool. - Fix build on FreeBSD 10 where libiconv isn't used. - Remove post-install. Not needed with staging. PR: ports/186592 Submitted by: tijl Modified: head/editors/nvi-devel/Makefile head/editors/nvi-devel/files/patch-configure head/editors/nvi-devel/pkg-plist Modified: head/editors/nvi-devel/Makefile ============================================================================== --- head/editors/nvi-devel/Makefile Sun Feb 9 16:10:30 2014 (r343518) +++ head/editors/nvi-devel/Makefile Sun Feb 9 16:36:35 2014 (r343519) @@ -3,7 +3,7 @@ PORTNAME= nvi PORTVERSION= 1.81.6 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= editors MASTER_SITES= http://garage.linux.student.kuleuven.be/~skimo/nvi/devel/ \ http://www.kotnet.org/~skimo/nvi/devel/ @@ -19,9 +19,9 @@ WIDECHAR_DESC= Enable wide-character sup USE_BZIP2= yes WRKSRC= ${WRKDIR}/${DISTNAME}/build.unix -USE_AUTOTOOLS= libtool +GNU_CONFIGURE= yes USE_LDCONFIG= yes -USES= iconv pkgconfig +USES= iconv libtool pkgconfig USE_BDB= 42+ CONFIGURE_ARGS+= --with-db-prefix=${LOCALBASE} \ --program-prefix=n @@ -38,15 +38,10 @@ LDFLAGS+= -L${BDB_LIB_DIR} -L${LOCALBAS # configure is 555, so you can't do a "make configure" as non-root. post-patch: - ${REINPLACE_CMD} -e 's,%%LIBTOOL%%,${LIBTOOL},g ; \ - s,%%LTMAIN%%,${LTMAIN},g ; \ - s,-ldb,-l${BDB_LIB_NAME},g' ${WRKSRC}/../dist/configure + @${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 @${CHMOD} 755 ${WRKSRC}/../dist/configure -post-install: -.for __p in nex nvi nview -# XXX: Hack the Makefile in the distribution so this isn't necessary. - ${RM} ${STAGEDIR}${PREFIX}/man/cat1/${__p}.0 -.endfor - .include Modified: head/editors/nvi-devel/files/patch-configure ============================================================================== --- head/editors/nvi-devel/files/patch-configure Sun Feb 9 16:10:30 2014 (r343518) +++ head/editors/nvi-devel/files/patch-configure Sun Feb 9 16:36:35 2014 (r343519) @@ -1,27 +1,6 @@ --- ../dist/configure.orig 2007-11-18 08:43:54.000000000 -0800 +++ ../dist/configure 2008-06-15 11:35:32.000000000 -0700 -@@ -19433,10 +19433,10 @@ fi - - - # This can be used to rebuild libtool when needed --LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" -+LIBTOOL_DEPS=" %%LTMAIN%%" - - # Always use our own libtool. --LIBTOOL='$(SHELL) $(top_builddir)/libtool' -+LIBTOOL='$(SHELL) %%LIBTOOL%%' - - # Prevent multiple expansion - -@@ -22335,6 +22335,7 @@ - #define USE_ICONV 1 - _ACEOF - -+LIBS="${LIBS} -liconv" - - for ac_func in iswblank - do -@@ -27631,6 +27632,8 @@ +@@ -27631,6 +27631,8 @@ cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ @@ -30,7 +9,7 @@ main(){char buf[20]; exit(sprintf(buf, "XXX") != 3);} _ACEOF rm -f conftest$ac_exeext -@@ -28624,7 +28627,7 @@ +@@ -28624,7 +28626,7 @@ cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include @@ -39,10 +18,10 @@ int main () -@@ -28755,5 +28758,6 @@ +@@ -28755,5 +28757,6 @@ cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -+#include ++#include #include int main () Modified: head/editors/nvi-devel/pkg-plist ============================================================================== --- head/editors/nvi-devel/pkg-plist Sun Feb 9 16:10:30 2014 (r343518) +++ head/editors/nvi-devel/pkg-plist Sun Feb 9 16:36:35 2014 (r343519) @@ -5,6 +5,7 @@ lib/libvi.a lib/libvi.la lib/libvi.so lib/libvi.so.0 +lib/libvi.so.0.0.0 man/man1/nex.1.gz man/man1/nvi.1.gz man/man1/nview.1.gz