diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-12-16 18:28:08 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-12-16 18:28:08 +0000 |
commit | f1d68e645c911ee3e6e4fc6506030d3ad7f19db5 (patch) | |
tree | 6263bd4f2608d109f02422217b958599cd6a2fb7 /shells | |
parent | 6c9b2aa57b80041ccc7dc8564db98b43fb0e7029 (diff) | |
download | ports-f1d68e645c911ee3e6e4fc6506030d3ad7f19db5.tar.gz ports-f1d68e645c911ee3e6e4fc6506030d3ad7f19db5.zip |
Convert to new option framework
Notes
Notes:
svn path=/head/; revision=309037
Diffstat (limited to 'shells')
-rw-r--r-- | shells/rc/Makefile | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/shells/rc/Makefile b/shells/rc/Makefile index 483bd5ccf3ec..5f5630779f52 100644 --- a/shells/rc/Makefile +++ b/shells/rc/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: rc -# Date created: Sun Aug 13 12:36:14 CDT 1995 -# Whom: erich@rrnet.com -# +# Created by: erich@rrnet.com # $FreeBSD$ -# PORTNAME= rc PORTVERSION= 1.7.1 @@ -20,14 +16,15 @@ CONFIGURE_ARGS= --with-history MAN1= history.1 rc.1 -OPTIONS= READLINE "Build readline support" off +OPTIONS_DEFINE= READLINE -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if !defined(WITHOUT_READLINE) +.if ${PORT_OPTIONS:MREADLINE} +USE_READLINE= yes CONFIGURE_ARGS+= --with-readline .else MAKE_ARGS+= CFLAGS="$(CFLAGS) -static" .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |