From 49b46005e7f7ebebcf6b43d451918c5462ac28d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Sun, 19 Nov 2017 14:21:25 +0000 Subject: vars/{build,env}.vars: diet, pt. II. vars/build.vars: install w/ `DESTDIR= PREFIX= prefix=' by default. vars/build.vars:cmake: build w/ -g0 -O2. vars/cmake.vars: build using cmake_host. vars/pkgconf_host.vars: remove & don't install ${PREFIX}/bin/pkg-config link to avoid confusing host packages. vars/{apr_util,chainport}.vars: replaced w/ corresponding ${PKG_BUILD_STEPS}. patches/perl-5.22.1.local.patch: pass -L. -lperl when linking. patches/smallbasic.local.patch: don't call pcre-config. subr/pkg_autoconf.subr, vars/{lib{caca,udns},toilet}.vars: always install config.sub after bootstrap. subr/pkg_disabled.subr: always silently finish disabled packages. subr/pkg_setup_{env,vars}.subr: split. subr/pkg_{build,install}.subr: always pass LIBTOOL=${PKG_SLIBTOOL:=slibtool}. subr/pkg_{{build,work}_dir,extract,setup_env}.subr: infer ${PKG_BUILD_DIR} from ${PKG_SUBDIR} given the absence of configure{,.{ac,in}}. --- vars/pkgconf_host.vars | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'vars/pkgconf_host.vars') diff --git a/vars/pkgconf_host.vars b/vars/pkgconf_host.vars index cced793f..8f77adf7 100644 --- a/vars/pkgconf_host.vars +++ b/vars/pkgconf_host.vars @@ -14,10 +14,7 @@ fi; "\$(dirname "\${0}")"/pkgconf --define-variable=prefix="\${PREFIX_NATIVE%/}/" "\${@}"; EOF chmod +x "${PREFIX}/bin/${TARGET}-pkg-config"; - if [ -e "${PREFIX}/bin/pkg-config" ]; then - build_fileop rm "${PREFIX}/bin/pkg-config"; - fi; - build_fileop ln_symbolic pkgconf "${PREFIX}/bin/pkg-config"; + build_fileop rm "${PREFIX}/bin/pkg-config"; }; pkg_pkgconf_install_post() { -- cgit v1.2.3