From owner-svn-ports-all@FreeBSD.ORG Sun Mar 2 09:18:30 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 CBB8AAEA; Sun, 2 Mar 2014 09:18:30 +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 AC1D51C5C; Sun, 2 Mar 2014 09:18:30 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s229IUbp063360; Sun, 2 Mar 2014 09:18:30 GMT (envelope-from marino@svn.freebsd.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s229IUpl063357; Sun, 2 Mar 2014 09:18:30 GMT (envelope-from marino@svn.freebsd.org) Message-Id: <201403020918.s229IUpl063357@svn.freebsd.org> From: John Marino Date: Sun, 2 Mar 2014 09:18:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r346745 - in head: devel/cvs-syncmail devel/cvs2html net-mgmt/rancid 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, 02 Mar 2014 09:18:31 -0000 Author: marino Date: Sun Mar 2 09:18:29 2014 New Revision: 346745 URL: http://svnweb.freebsd.org/changeset/ports/346745 QAT: https://qat.redports.org/buildarchive/r346745/ Log: net-mgmt/rancid, devel/cvs(2html,-syncmail): Fix recent cvs dependency CVS is no longer in base on FreeBSD 10 and later, but it's still in DragonFly's base, and the devel/cvs port doesn't even build on DF. The dependence on CVS was added to some ports recently, make sure that only applies to FreeBSD. Note the rancid approach where it further limits it to FreeBSD 10+ is better than devel/cvs* where they pull in CVS unconditionally on FreeBSD 8 and 9 where it's not needed. The unmaintained cvs-syncmail port was updated to be like rancid, but I didn't make the same update to the maintained cvs2html port. Modified: head/devel/cvs-syncmail/Makefile head/devel/cvs2html/Makefile head/net-mgmt/rancid/Makefile Modified: head/devel/cvs-syncmail/Makefile ============================================================================== --- head/devel/cvs-syncmail/Makefile Sun Mar 2 09:10:35 2014 (r346744) +++ head/devel/cvs-syncmail/Makefile Sun Mar 2 09:18:29 2014 (r346745) @@ -11,8 +11,6 @@ EXTRACT_SUFX= MAINTAINER= ports@FreeBSD.org COMMENT= CVS notification tool -RUN_DEPENDS= cvs:${PORTSDIR}/devel/cvs - USES= shebangfix SHEBANG_FILES= ${DISTNAME} NO_BUILD= yes @@ -21,6 +19,12 @@ USE_PYTHON= yes PLIST_FILES= bin/${DISTNAME} +.include + +.if ${OPSYS} == FreeBSD && ${OPSYS} > 1000000 +RUN_DEPENDS= cvs:${PORTSDIR}/devel/cvs +.endif + do-extract: @${MKDIR} ${WRKSRC} ${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC} @@ -28,4 +32,4 @@ do-extract: do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${STAGEDIR}${PREFIX}/bin/${DISTNAME} -.include +.include Modified: head/devel/cvs2html/Makefile ============================================================================== --- head/devel/cvs2html/Makefile Sun Mar 2 09:10:35 2014 (r346744) +++ head/devel/cvs2html/Makefile Sun Mar 2 09:18:29 2014 (r346745) @@ -16,14 +16,19 @@ COMMENT= Perl script to turn ``cvs log'' LICENSE= GPLv2 -RUN_DEPENDS= cvs:${PORTSDIR}/devel/cvs - PLIST_FILES= bin/cvs2html NO_WRKSUBDIR= yes NO_BUILD= yes USES= perl5 shebangfix SHEBANG_FILES= ${PORTNAME} +.include + +.if ${OPSYS} == FreeBSD +# DragonFly has CVS in base and devel/cvs doesn't build there +RUN_DEPENDS= cvs:${PORTSDIR}/devel/cvs +.endif + do-extract: @${MKDIR} ${WRKSRC} @${CP} ${DISTDIR}/${PORTNAME} ${WRKSRC} @@ -31,4 +36,4 @@ do-extract: do-install: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin -.include +.include Modified: head/net-mgmt/rancid/Makefile ============================================================================== --- head/net-mgmt/rancid/Makefile Sun Mar 2 09:10:35 2014 (r346744) +++ head/net-mgmt/rancid/Makefile Sun Mar 2 09:18:29 2014 (r346745) @@ -42,7 +42,7 @@ CONFIGURE_ARGS+= --with-svn BUILD_DEPENDS+= svn:${PORTSDIR}/devel/subversion .else CONFIGURE_ARGS+= --without-svn -.if ${OSVERSION} >= 1000000 +.if ${OPSYS} == DragonFly && ${OSVERSION} >= 1000000 RUN_DEPENDS+= cvs>0:${PORTSDIR}/devel/cvs .endif .endif