|
Lines 115-121
baselibs() {
Link Here
|
| 115 |
local rc |
115 |
local rc |
| 116 |
local found_openssl |
116 |
local found_openssl |
| 117 |
local file |
117 |
local file |
|
|
118 |
local provides_ssllibs |
| 118 |
[ "${PKGBASE}" = "pkg" -o "${PKGBASE}" = "pkg-devel" ] && return |
119 |
[ "${PKGBASE}" = "pkg" -o "${PKGBASE}" = "pkg-devel" ] && return |
|
|
120 |
|
| 121 |
provides_ssllibs=$(list_stagedir_elfs \( -name 'libcrypto.so*' -or -name 'libssl.so*' \)) |
| 119 |
while read -r f; do |
122 |
while read -r f; do |
| 120 |
case ${f} in |
123 |
case ${f} in |
| 121 |
File:\ .*) |
124 |
File:\ .*) |
|
Lines 136-145
baselibs() {
Link Here
|
| 136 |
done <<-EOF |
139 |
done <<-EOF |
| 137 |
$(list_stagedir_elfs -exec readelf -d {} + 2>/dev/null) |
140 |
$(list_stagedir_elfs -exec readelf -d {} + 2>/dev/null) |
| 138 |
EOF |
141 |
EOF |
| 139 |
if [ -z "${USESSSL}" -a -n "${found_openssl}" ]; then |
142 |
if [ -z "${provides_ssllibs}" ]; then |
| 140 |
warn "you need USES=ssl" |
143 |
if [ -z "${USESSSL}" -a -n "${found_openssl}" ]; then |
| 141 |
elif [ -n "${USESSSL}" -a -z "${found_openssl}" ]; then |
144 |
warn "you need USES=ssl" |
| 142 |
warn "you may not need USES=ssl" |
145 |
elif [ -n "${USESSSL}" -a -z "${found_openssl}" ]; then |
|
|
146 |
warn "you may not need USES=ssl" |
| 147 |
fi |
| 143 |
fi |
148 |
fi |
| 144 |
return ${rc} |
149 |
return ${rc} |
| 145 |
} |
150 |
} |