summaryrefslogtreecommitdiffstats
path: root/devel/libedit
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2005-09-13 13:00:06 +0000
committergarga <garga@FreeBSD.org>2005-09-13 13:00:06 +0000
commit7c2216b8fd1e3df05b2f3d006fca4d60f8f7fcfa (patch)
treee7afd267ef555e9fd026f84a0aa7440490badd33 /devel/libedit
parent136e0c8323f6a31b8feaf8dd43eac6258172040b (diff)
downloadFreeBSD-ports-7c2216b8fd1e3df05b2f3d006fca4d60f8f7fcfa.zip
FreeBSD-ports-7c2216b8fd1e3df05b2f3d006fca4d60f8f7fcfa.tar.gz
Remove OPTIONS scheme to prevent conflicts with devel/readline
Pointed by: Marcus Alves Grando <marcus@corp.grupos.com.br>
Diffstat (limited to 'devel/libedit')
-rw-r--r--devel/libedit/Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/devel/libedit/Makefile b/devel/libedit/Makefile
index 21812fb..2c54a1d 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>
OpenPOWER on IntegriCloud