aboutsummaryrefslogtreecommitdiff
path: root/shells/rc/Makefile
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-03-30 04:43:13 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-03-30 04:43:13 +0000
commit5859f9359b3f4fe2d67fe9a5451f571f087b831d (patch)
tree42d965fce6203c944fe13115aca39e0914f43321 /shells/rc/Makefile
parent7ac2db440ab90f95fae3e9c0dc99284b3914c6be (diff)
downloadports-5859f9359b3f4fe2d67fe9a5451f571f087b831d.tar.gz
ports-5859f9359b3f4fe2d67fe9a5451f571f087b831d.zip
Notes
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