diff --git a/common/options.description b/common/options.description index 4fb6ffe65d0..df89e171d72 100644 --- a/common/options.description +++ b/common/options.description @@ -25,6 +25,7 @@ desc_option_imagemagick="Enable support for ImageMagick" desc_option_jack="Enable support for the JACK sound server" desc_option_jpeg="Enable support for JPEG images" desc_option_lame="Enable support for the LAME encoder" +desc_option_libedit="Enable support for NetBSD's libedit" desc_option_lua="Enable support for Lua" desc_option_lzo="Enable support for LZO compression format" desc_option_microhttpd="Enable support for microhttpd" @@ -42,9 +43,11 @@ desc_option_python="Enable support for Python" desc_option_qrencode="Enable support for qrencode" desc_option_qt="Enable support for building the QT UI" desc_option_raw="Enable support for RAW image files" +desc_option_readline="Enable support for GNU readline" desc_option_sasl="Enable support for SASL" desc_option_ssl="Enable support for SSL" desc_option_startup_notification="Enable support for desktop notification" +desc_option_static="Enable static linking" desc_option_svg="Enable support for SVG images" desc_option_systemd="Enable support for systemd" desc_option_tcpwrappers="Enable support for tcpwrappers" diff --git a/srcpkgs/rc/template b/srcpkgs/rc/template index befb7e5d3b6..65f939d1f93 100644 --- a/srcpkgs/rc/template +++ b/srcpkgs/rc/template @@ -11,21 +11,16 @@ distfiles="http://static.tobold.org/$pkgname/$pkgname-$version.tar.gz" checksum=1cff23e897a038422458ba01567a5a2650935205862c3bbf73e773807c248240 build_options="readline libedit static" -desc_option_readline="Enable support for GNU readline" -desc_option_libedit="Enable support for libedit" -desc_option_static="Enable static linking" build_options_default="readline" -configure_args="ac_cv_sys_restartable_syscalls=no " -makedepends="" -if [ "$build_option_readline" ]; then - configure_args+=" --with-readline" - makedepends+=" readline-devel" -fi +configure_args="ac_cv_sys_restartable_syscalls=no" -if [ "$build_option_libedit" ]; then +if [ "$build_option_readline" ]; then + configure_args+=" --with-readline" + makedepends="readline-devel" +elif [ "$build_option_libedit" ]; then configure_args+=" --with-editline" - makedepends+=" libedit-devel" + makedepends="libedit-devel" fi pre_configure() {