lighttpd: do not use getPackagePrefix for now. (#2692)

getPackagePrefix makes our scripts on travis-ci.org complain:

Checking ports of: lighttpd-1.4.49
lighttpd-1.4.49 [www-servers]
packageEntries: error: "mod_geoip" doesn't seem to be
a valid package suffix.

So, instead, use a little hack.
This commit is contained in:
fbrosson
2018-06-16 07:09:04 +00:00
parent b173cb969c
commit 7b02f29d44

View File

@@ -211,16 +211,16 @@ POST_INSTALL_SCRIPTS="
$relativePostInstallDir/create-lighttpd-directories.sh
"
debugList=()
debugList=(
"$commandBinDir"/lighttpd
"$commandBinDir"/lighttpd-angel
"${libDir/lighttpd$secondaryArchSuffix/lighttpd${secondaryArchSuffix}_mod_geoip}"/lighttpd/mod_geoip.so
)
for i in `echo "$PROVIDES" | sed -e "/^\s*#/ d;" | sed -n -e \
"s/^\s*lib:\(mod_.*\)$secondaryArchSuffix/\1/p;"` ; do
debugList+=("$libDir"/lighttpd/$i.so)
done
defineDebugInfoPackage lighttpd$secondaryArchSuffix \
"$commandBinDir"/lighttpd \
"$commandBinDir"/lighttpd-angel \
"$(getPackagePrefix mod_geoip)"/$relativeLibDir/lighttpd/mod_geoip.so \
"${debugList[@]}"
defineDebugInfoPackage lighttpd$secondaryArchSuffix "${debugList[@]}"
BUILD()
{