diff options
author | bapt <bapt@FreeBSD.org> | 2012-12-17 02:28:08 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-12-17 02:28:08 +0800 |
commit | 2554d17e4358afd0978c2a7ac323793b8e8ea8b3 (patch) | |
tree | 6263bd4f2608d109f02422217b958599cd6a2fb7 /shells/rc | |
parent | 9c97fb1483f223f18f7bee88efaa1688fe934044 (diff) | |
download | freebsd-ports-gnome-2554d17e4358afd0978c2a7ac323793b8e8ea8b3.tar.gz freebsd-ports-gnome-2554d17e4358afd0978c2a7ac323793b8e8ea8b3.tar.zst freebsd-ports-gnome-2554d17e4358afd0978c2a7ac323793b8e8ea8b3.zip |
Convert to new option framework
Diffstat (limited to 'shells/rc')
-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> |