Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Aug 2020 11:14:30 +0000 (UTC)
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r545313 - head/math/units
Message-ID:  <202008191114.07JBEUov077241@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008191114.07JBEUov077241>