From 60f0399eb964ffdd68c191c065f7e8547a349819 Mon Sep 17 00:00:00 2001
From: Renato Botelho <garga@FreeBSD.org>
Date: Tue, 13 Sep 2005 13:00:06 +0000
Subject: Remove OPTIONS scheme to prevent conflicts with devel/readline

Pointed by:	Marcus Alves Grando <marcus@corp.grupos.com.br>
---
 devel/libedit/Makefile | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

(limited to 'devel/libedit')

diff --git a/devel/libedit/Makefile b/devel/libedit/Makefile
index 21812fba59ca..2c54a1d8054a 100644
--- a/devel/libedit/Makefile
+++ b/devel/libedit/Makefile
@@ -17,8 +17,7 @@ COMMENT=	Command line editing library
 USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
 INSTALLS_SHLIB=	yes
-
-OPTIONS=	READLINE	"Enable readline compatibility"	off
+CONFIGURE_ARGS=	--disable-readline
 
 MAN3=		editline.3
 MAN5=		editrc.5
@@ -41,14 +40,8 @@ MLINKS=		editline.3 el_init.3 \
 		editline.3 history.3
 MANCOMPRESSED=	no
 
-.include <bsd.port.pre.mk>
-
-.if !defined(WITH_READLINE)
-CONFIGURE_ARGS+=	--disable-readline
-.endif
-
 post-patch:
 	@${REINPLACE_CMD} -e 's|CFLAGS -O|CFLAGS|g ; \
 		 s|MAJOR="2"|MAJOR="5"|g' ${WRKSRC}/configure
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
-- 
cgit v1.2.3