aboutsummaryrefslogtreecommitdiffstats
path: root/shells/rc/Makefile
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-03-30 12:43:13 +0800
committeredwin <edwin@FreeBSD.org>2003-03-30 12:43:13 +0800
commit1040c61a9876bbb3f92602781d6a964b1e07f00f (patch)
tree5058ec62846ffe3011e075a76b4c1e9bdb3914be /shells/rc/Makefile
parent86a85bdf604898888c89e8f3e15930fae334f8d9 (diff)
downloadfreebsd-ports-gnome-1040c61a9876bbb3f92602781d6a964b1e07f00f.tar.gz
freebsd-ports-gnome-1040c61a9876bbb3f92602781d6a964b1e07f00f.tar.zst
freebsd-ports-gnome-1040c61a9876bbb3f92602781d6a964b1e07f00f.zip
update shells/rc to version 1.7, with readline
PR: ports/48843 Submitted by: Scott Kenney <saken@hotel.rmta.org>
Diffstat (limited to 'shells/rc/Makefile')
-rw-r--r--shells/rc/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/shells/rc/Makefile b/shells/rc/Makefile
index 1bb651984cf7..62209feb1346 100644
--- a/shells/rc/Makefile
+++ b/shells/rc/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= rc
-PORTVERSION= 1.6
+PORTVERSION= 1.7
CATEGORIES= shells plan9
MASTER_SITES= http://www.star.le.ac.uk/~tjg/rc/release/ \
ftp://ftp.sys.utoronto.ca/pub/rc/
@@ -14,6 +14,13 @@ MASTER_SITES= http://www.star.le.ac.uk/~tjg/rc/release/ \
MAINTAINER= saken@hotel.rmta.org
COMMENT= A unix incarnation of the plan9 shell
+.if defined(WITH_READLINE)
+CONFIGURE_ARGS+= --with-readline
+.endif
+.if !defined(WITH_READLINE)
+MAKE_ARGS+= CFLAGS="$(CFLAGS) -static"
+.endif
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-history
MAN1= history.1 rc.1