diff options
Diffstat (limited to 'devel/libedit/Makefile')
-rw-r--r-- | devel/libedit/Makefile | 11 |
1 files changed, 2 insertions, 9 deletions
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> |