svn commit: r545313 - head/math/units

Li-Wen Hsu lwhsu at FreeBSD.org
Wed Aug 19 11:14:30 UTC 2020


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 at shalott.net
  Approved by:	jharris at 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 \


More information about the svn-ports-head mailing list