Page MenuHomeFreeBSD

D41973.id.diff
No OneTemporary

D41973.id.diff

diff --git a/Mk/Scripts/qa.sh b/Mk/Scripts/qa.sh
--- a/Mk/Scripts/qa.sh
+++ b/Mk/Scripts/qa.sh
@@ -116,6 +116,7 @@
local found_openssl
local file
[ "${PKGBASE}" = "pkg" -o "${PKGBASE}" = "pkg-devel" ] && return
+
while read -r f; do
case ${f} in
File:\ .*)
@@ -136,10 +137,13 @@
done <<-EOF
$(list_stagedir_elfs -exec readelf -d {} + 2>/dev/null)
EOF
- if [ -z "${USESSSL}" -a -n "${found_openssl}" ]; then
- warn "you need USES=ssl"
- elif [ -n "${USESSSL}" -a -z "${found_openssl}" ]; then
- warn "you may not need USES=ssl"
+
+ if ! list_stagedir_elfs | egrep -q 'lib(crypto|ssl).so*'; then
+ if [ -z "${USESSSL}" -a -n "${found_openssl}" ]; then
+ warn "you need USES=ssl"
+ elif [ -n "${USESSSL}" -a -z "${found_openssl}" ]; then
+ warn "you may not need USES=ssl"
+ fi
fi
return ${rc}
}

File Metadata

Mime Type
text/plain
Expires
Sat, Jan 18, 8:17 PM (19 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15889742
Default Alt Text
D41973.id.diff (828 B)

Event Timeline