mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
openssl: Fix hard-coded perl paths
This commit is contained in:
@@ -22,7 +22,7 @@ COPYRIGHT="
|
||||
1995-1998 Eric Young
|
||||
1998-2012 The OpenSSL Project.
|
||||
"
|
||||
REVISION="3"
|
||||
REVISION="4"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
@@ -62,11 +62,18 @@ BUILD_PREREQUIRES="
|
||||
cmd:sed
|
||||
"
|
||||
|
||||
PATCH()
|
||||
{
|
||||
# fix hard-coded perl path
|
||||
sed -i 's,/usr/bin/perl,/bin/env perl,g' apps/tsget
|
||||
}
|
||||
|
||||
BUILD()
|
||||
{
|
||||
# Fix hardcoded directory for manpages
|
||||
sed -i "s@MANDIR=.*\$@MANDIR=$manDir@g" Make*
|
||||
|
||||
PERL="/bin/env perl" \
|
||||
./config --prefix=$prefix --libdir=$relativeLibDir \
|
||||
--openssldir=$dataRootDir/ssl \
|
||||
zlib shared
|
||||
|
||||
Reference in New Issue
Block a user