From owner-svn-ports-all@freebsd.org Mon Jun 6 21:27:10 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 17BEFB630EA; Mon, 6 Jun 2016 21:27:10 +0000 (UTC) (envelope-from grembo@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C26711F14; Mon, 6 Jun 2016 21:27:09 +0000 (UTC) (envelope-from grembo@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u56LR8G7026321; Mon, 6 Jun 2016 21:27:08 GMT (envelope-from grembo@FreeBSD.org) Received: (from grembo@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u56LR83o026319; Mon, 6 Jun 2016 21:27:08 GMT (envelope-from grembo@FreeBSD.org) Message-Id: <201606062127.u56LR83o026319@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: grembo set sender to grembo@FreeBSD.org using -f From: Michael Gmelin Date: Mon, 6 Jun 2016 21:27:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r416489 - in head/editors/joe: . 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.22 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: Mon, 06 Jun 2016 21:27:10 -0000 Author: grembo Date: Mon Jun 6 21:27:08 2016 New Revision: 416489 URL: https://svnweb.freebsd.org/changeset/ports/416489 Log: Make dependency on aspell optional joe is less than 2 MB in size and has no dependencies. Aspell brings in 55MB in dependencies and more than 3000 files. Change the port, so the dependency on aspell is optional (and disabled by default) and allow installing aspell separately for those who need it. Reviewed by: bapt Approved by: mentors (implicit) Differential Revision: https://reviews.freebsd.org/D6732 Added: head/editors/joe/files/patch-configure (contents, props changed) Modified: head/editors/joe/Makefile Modified: head/editors/joe/Makefile ============================================================================== --- head/editors/joe/Makefile Mon Jun 6 21:08:05 2016 (r416488) +++ head/editors/joe/Makefile Mon Jun 6 21:27:08 2016 (r416489) @@ -3,6 +3,7 @@ PORTNAME= joe PORTVERSION= 4.2 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES?= editors MASTER_SITES= SF/joe-editor/JOE%20sources/joe-${PORTVERSION} @@ -12,10 +13,8 @@ COMMENT= Joe's Own Editor LICENSE= GPLv2 -BUILD_DEPENDS= aspell:textproc/aspell -RUN_DEPENDS= aspell:textproc/aspell -OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE= ASPELL DOCS CONFLICTS= joe-2.* @@ -26,6 +25,12 @@ LIBS+= -L${LOCALBASE}/lib ${ICONV_LIB} ALL_TARGET= ${PORTNAME} +.include + +.if ${PORT_OPTIONS:MASPELL} +RUN_DEPENDS= aspell:textproc/aspell +.endif + post-patch: ${REINPLACE_CMD} -e 's|docs/README.old docs/man.md ||' ${WRKSRC}/Makefile.in Added: head/editors/joe/files/patch-configure ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/editors/joe/files/patch-configure Mon Jun 6 21:27:08 2016 (r416489) @@ -0,0 +1,11 @@ +--- configure.orig 2016-03-06 19:35:47.000000000 +0000 ++++ configure 2016-06-05 13:46:54.833041496 +0000 +@@ -8145,7 +8145,7 @@ + done + IFS=$as_save_IFS + +- test -z "$ac_cv_prog_SPELL" && ac_cv_prog_SPELL="ispell" ++ test -z "$ac_cv_prog_SPELL" && ac_cv_prog_SPELL="aspell" + fi + fi + SPELL=$ac_cv_prog_SPELL