diff options
author | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2020-08-19 11:20:02 +0000 |
---|---|---|
committer | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2020-08-19 11:20:02 +0000 |
commit | 4ec222c83a6e56f520131e68468aac8d7c3a3aff (patch) | |
tree | 8db5da59ea1f391ff8b47b172794227018e92fdc /math | |
parent | 49b609a5c687024f41a4598003a7a379093bc4a8 (diff) | |
download | ports-4ec222c83a6e56f520131e68468aac8d7c3a3aff.tar.gz ports-4ec222c83a6e56f520131e68468aac8d7c3a3aff.zip |
MFH: r545313
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)
Approved by: portmgr (blanket: build, run, dependency fix)
Notes
Notes:
svn path=/branches/2020Q3/; revision=545316
Diffstat (limited to 'math')
-rw-r--r-- | math/units/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/math/units/Makefile b/math/units/Makefile index bca33e6ecea6..1473bd85f997 100644 --- a/math/units/Makefile +++ b/math/units/Makefile @@ -3,7 +3,7 @@ PORTNAME= units PORTVERSION= 2.16 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math MASTER_SITES= GNU @@ -18,6 +18,10 @@ CONFIGURE_ARGS= --program-prefix=g INFO= units +OPTIONS_DEFAULT= READLINE +OPTIONS_DEFINE= READLINE +READLINE_USES= readline:port + post-patch: @${REINPLACE_CMD} -e \ 's|$$(INSTALL_PROGRAM) units_cur|${INSTALL_SCRIPT} units_cur|' \ |