aboutsummaryrefslogtreecommitdiff
path: root/shells/rc/Makefile
diff options
context:
space:
mode:
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