{
export PKG_CONFIG=true
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--enable-elf-shlibs \
--disable-libblkid \
--disable-libuuid \
hvconfig_pre()
{
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
- --disable-shared"
+ CONFIGURE_OPTS+=" --disable-shared"
}
# When cross-compiling the Gettext configure script assumes we don't have a
{
# --libdir=/lib
# Necessary to prevent PAM from instaling into /lib64
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--libdir=/lib \
--sbindir=/lib/security \
--docdir=/usr/share/doc/${PACKAGE} \
sed -i 's:LITLEN 240 :LITLEN 8092:' \
unicode/{gensyntax.pl,unicode.syn}
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--disable-static \
--disable-doc-build \
--enable-default-catalog=/etc/sgml/catalog \
sed -i 's/#elif WITH_DES/#elif defined(WITH_DES)/' \
${LFS_TMP}/${PACKAGE}/plugins/digestmd5.c
- CONFIGURE_OPTS=" \
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--with-dbpath=/var/lib/sasl/sasldb2 \
--with-saslauthd=/var/run/saslauthd \
--with-dblib=gdbm"
if [ "x${HVLABEL}" = "x${PACKAGE}-pass2" ]; then
- CONFIGURE_OPTS=" \
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--with-ldap \
--enable-ldapdb"
fi
chmod 755 ${DUMMY_SM_PATH}
fi
- CONFIGURE_OPTS="${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--with-editor=/usr/bin/nano \
--with-boot-install=no \
--with-answer-all=no"
sed -e "s!#include <stdio.h>!&\n#include <string.h>!" -i \
${LFS_TMP}/${PACKAGE}/examples/cpp/encode/file/main.cpp
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--disable-thorough-test"
}
hvconfig_pre()
{
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--localstatedir=/var \
--disable-docs \
--without-add-fonts \
hvconfig_pre()
{
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--bindir=/sbin \
--sbindir=/sbin \
--libdir=/lib \
hvconfig_pre()
{
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--enable-http \
--disable-static \
--enable-default-catalog=/etc/sgml/catalog \
# --enable-spasswd: for SASL2 plugin
# --disable-bdb --disable-hdb --with-ldbm-api=gdbm: To use GBDM
# --disable-sql --disable-ndb: If MySQL is NOT installed
- CONFIGURE_OPTS=" \
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--libexecdir=/usr/sbin \
--localstatedir=/srv/ldap \
--disable-debug \
hv_useradd --system -c sshd-privsep -d /var/lib/sshd -g sshd \
-s /bin/false sshd
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--sysconfdir=/etc/ssh \
--datadir=/usr/share/sshd \
--with-pam \
hvconfig_pre()
{
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--sbindir=/sbin"
}
hvconfig_pre()
{
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--without-selinux"
cd ${LFS_TMP}/${PACKAGE}
hvconfig_pre()
{
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
- --with-loadavg"
+ CONFIGURE_OPTS+=" --with-loadavg"
}
hvbuild_post()
if [ -n "${XORG_VIDEO_DRIVER}" ]; then
case "${XORG_VIDEO_DRIVER}" in
nouveau)
- DRI_OPTS="${DRI_OPTS},nouveau"
- GAL_OPTS="${GAL_OPTS},nouveau"
+ DRI_OPTS+=",nouveau"
+ GAL_OPTS+=",nouveau"
;;
intel)
- DRI_OPTS="${DRI_OPTS},i915,i965"
- GAL_OPTS="${GAL_OPTS},i915"
+ DRI_OPTS+=",i915,i965"
+ GAL_OPTS+=",i915"
;;
esac
fi
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--enable-texture-float \
--enable-gles1 \
--enable-gles2 \
hv_useradd --system -c D-BUS-Message-Daemon-User -d /dev/null \
-g messagebus -s /bin/false messagebus
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--libexecdir=/usr/lib/dbus-1.0 \
--localstatedir=/var"
}
hvconfig_pre()
{
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
- --with-pcre=system"
+ CONFIGURE_OPTS+=" --with-pcre=system"
}
hvbuild_post()
hvconfig_pre()
{
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--prefix=/usr \
--sysconfdir=/etc/X11 \
--disable-debug \
hvconfig_pre()
{
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
- --disable-devel-docs"
+ CONFIGURE_OPTS+=" --disable-devel-docs"
}
hvconfig_pre()
{
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
- --with-appdefaultdir=/etc/X11/app-defaults"
+ CONFIGURE_OPTS+=" --with-appdefaultdir=/etc/X11/app-defaults"
}
hvconfig_pre()
{
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
- --with-xinitdir=/etc/X11/app-defaults"
+ CONFIGURE_OPTS+=" --with-xinitdir=/etc/X11/app-defaults"
}
echo -e '\tkbs=\\177,' >> ${LFS_TMP}/${PACKAGE}/terminfo
export TERMINFO=/usr/share/terminfo
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--enable-luit \
--enable-wide-chars \
--with-app-defaults=/usr/share/X11/app-defaults \
hvconfig_pre()
{
- CONFIGURE_OPTS=" \
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--disable-orbit \
--disable-static"
}
# Is this really necessary?
export SENDMAIL="/usr/sbin/sendmail"
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--with-dbdir=/srv/clamav \
--enable-milter"
}
hvconfig_pre()
{
- CONFIGURE_OPTS=" \
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--libexecdir=/usr/sbin \
--with-x-toolkit=gtk"
}
# To use the system-installed copy of libtiff:
rm -rf tiff
- CONFIGURE_OPTS=" \
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--enable-dynamic \
--with-system-libtiff \
--with-fontpath=${GS_FONTS_PATH}"
hvconfig_pre()
{
- CONFIGURE_OPTS=" \
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--enable-gui=gtk \
--enable-media=gst \
--enable-renderer=cairo,agg \
hvconfig_pre()
{
- CONFIGURE_OPTS=" \
- ${CONFIGURE_OPTS} \
- --localstatedir=/var/run"
+ CONFIGURE_OPTS+=" --localstatedir=/var/run"
}
hvbuild_post()
# --mandir:
# If not specified, php installs some man pages under /usr/php
# (phpize.1, php.1 and php-config.1)
- CONFIGURE_OPTS=" \
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--with-apxs2 \
--with-config-file-path=/etc \
--mandir=/usr/share/man \
# Fixes an obsolete udev parameter:
sed -i 's/SYSFS/ATTRS/g' ${LFS_TMP}/${PACKAGE}/tools/sane-desc.c
- CONFIGURE_OPTS=" \
- ${CONFIGURE_OPTS} \
- --with-x=${USE_X_OPTION}"
+ CONFIGURE_OPTS+=" --with-x=${USE_X_OPTION}"
}
hvbuild_post()
-e 's|\$TEXMFVAR/fonts|/var/lib/livetex/fonts|' \
${LFS_TMP}/${PACKAGE}/texk/kpathsea/texmf.cnf
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--disable-native-texlive-build \
--enable-build-in-source-tree \
--without-luatex \
hvconfig_pre()
{
# Need to specify mandir manually because of a stupid programming error.
- CONFIGURE_OPTS="\
- ${CONFIGURE_OPTS} \
+ CONFIGURE_OPTS+=" \
--mandir=/usr/man \
--without-tcpwrappers"
}