mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-23 11:36:32 +01:00
fix: remove useless checnks
This commit is contained in:
parent
7715b0b2c0
commit
62478d4872
2 changed files with 0 additions and 45 deletions
|
|
@ -91,28 +91,5 @@ src_install() {
|
||||||
}
|
}
|
||||||
|
|
||||||
src_postprocess() {
|
src_postprocess() {
|
||||||
local guile_site_path guile_core_site guile_site_ccache guile_core_ccache
|
|
||||||
|
|
||||||
default_src_postprocess
|
default_src_postprocess
|
||||||
|
|
||||||
if find "${DESTDIR}" -type f \( -name '*.so' -o -name '*.so.*' \) | grep -q .; then
|
|
||||||
echo "guile-avahi: shared objects are forbidden in static profile." >&2
|
|
||||||
false
|
|
||||||
fi
|
|
||||||
|
|
||||||
guile_site_path="${DESTDIR}${PREFIX}/share/guile/site/3.0"
|
|
||||||
guile_core_site="${PREFIX}/share/guile/3.0"
|
|
||||||
guile_site_ccache="${DESTDIR}${LIBDIR}/guile/3.0/site-ccache"
|
|
||||||
guile_core_ccache="${LIBDIR}/guile/3.0/ccache"
|
|
||||||
|
|
||||||
PATH="${DESTDIR}${PREFIX}/bin:${PREFIX}/bin:/usr/bin:/bin" \
|
|
||||||
GUILE_LOAD_PATH="${guile_site_path}:${guile_core_site}" \
|
|
||||||
GUILE_LOAD_COMPILED_PATH="${guile_site_ccache}:${guile_core_ccache}" \
|
|
||||||
GUILE_SYSTEM_PATH="${guile_site_path}:${guile_core_site}" \
|
|
||||||
GUILE_SYSTEM_COMPILED_PATH="${guile_site_ccache}:${guile_core_ccache}" \
|
|
||||||
"${DESTDIR}${PREFIX}/bin/guile" -c '
|
|
||||||
(use-modules (avahi) (avahi client) (gnutls))
|
|
||||||
(unless (session? (make-session connection-end/client))
|
|
||||||
(error "gnutls session init failed"))
|
|
||||||
(display "avahi+gnutls-modules-ok\n")'
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -64,27 +64,5 @@ src_install() {
|
||||||
}
|
}
|
||||||
|
|
||||||
src_postprocess() {
|
src_postprocess() {
|
||||||
local guile_site_path guile_site_ccache guile_core_ccache
|
|
||||||
|
|
||||||
default_src_postprocess
|
default_src_postprocess
|
||||||
|
|
||||||
if find "${DESTDIR}" -type f \( -name '*.so' -o -name '*.so.*' \) | grep -q .; then
|
|
||||||
echo "guile-gnutls: shared objects are forbidden in static profile." >&2
|
|
||||||
false
|
|
||||||
fi
|
|
||||||
|
|
||||||
guile_site_path="${DESTDIR}${PREFIX}/share/guile/site/3.0:${PREFIX}/share/guile/site/3.0:${PREFIX}/share/guile/3.0"
|
|
||||||
guile_site_ccache="${DESTDIR}${LIBDIR}/guile/3.0/site-ccache:${LIBDIR}/guile/3.0/site-ccache"
|
|
||||||
guile_core_ccache="${LIBDIR}/guile/3.0/ccache"
|
|
||||||
|
|
||||||
PATH="${DESTDIR}${PREFIX}/bin:${PREFIX}/bin:/usr/bin:/bin" \
|
|
||||||
GUILE_LOAD_PATH="${guile_site_path}" \
|
|
||||||
GUILE_LOAD_COMPILED_PATH="${guile_site_ccache}:${guile_core_ccache}" \
|
|
||||||
GUILE_SYSTEM_PATH="${guile_site_path}" \
|
|
||||||
GUILE_SYSTEM_COMPILED_PATH="${guile_site_ccache}:${guile_core_ccache}" \
|
|
||||||
"${DESTDIR}${PREFIX}/bin/guile" -c '
|
|
||||||
(use-modules (gnutls))
|
|
||||||
(unless (session? (make-session connection-end/client))
|
|
||||||
(error "gnutls session init failed"))
|
|
||||||
(display "gnutls-module-ok\n")'
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue