From owner-svn-ports-all@freebsd.org Wed Aug 19 11:14:30 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6D9433BB12B; Wed, 19 Aug 2020 11:14:30 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BWlY22MDLz4cZS; Wed, 19 Aug 2020 11:14:30 +0000 (UTC) (envelope-from lwhsu@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 344A921AF8; Wed, 19 Aug 2020 11:14:30 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 07JBEU2C077242; Wed, 19 Aug 2020 11:14:30 GMT (envelope-from lwhsu@FreeBSD.org) Received: (from lwhsu@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 07JBEUov077241; Wed, 19 Aug 2020 11:14:30 GMT (envelope-from lwhsu@FreeBSD.org) Message-Id: <202008191114.07JBEUov077241@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: lwhsu set sender to lwhsu@FreeBSD.org using -f From: Li-Wen Hsu Date: Wed, 19 Aug 2020 11:14:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r545313 - head/math/units X-SVN-Group: ports-head X-SVN-Commit-Author: lwhsu X-SVN-Commit-Paths: head/math/units X-SVN-Commit-Revision: 545313 X-SVN-Commit-Repository: ports 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.33 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: Wed, 19 Aug 2020 11:14:30 -0000 Author: lwhsu Date: Wed Aug 19 11:14:29 2020 New Revision: 545313 URL: https://svnweb.freebsd.org/changeset/ports/545313 Log: math/units: Add a default option READLINE to tuggle readline support This makes sure the readline support is tuggled in the build time and not affected by the libreadline installed or not during build/run time. PR: 248631 Submitted by: ports-units@shalott.net Approved by: jharris@widomaker.com (maintainer) MFH: 2020Q3 (blanket: build, run, dependency fix) Modified: head/math/units/Makefile Modified: head/math/units/Makefile ============================================================================== --- head/math/units/Makefile Wed Aug 19 11:14:03 2020 (r545312) +++ head/math/units/Makefile Wed Aug 19 11:14:29 2020 (r545313) @@ -3,7 +3,7 @@ PORTNAME= units PORTVERSION= 2.16 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math MASTER_SITES= GNU @@ -17,6 +17,10 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS= --program-prefix=g INFO= units + +OPTIONS_DEFAULT= READLINE +OPTIONS_DEFINE= READLINE +READLINE_USES= readline:port post-patch: @${REINPLACE_CMD} -e \