/usr/local/lib must be in the RPATH since openssl lives there

This commit is contained in:
Tom G. Christensen 2007-10-29 11:11:56 +00:00 committed by tgc
parent bc30a1fdab
commit e603f8ea52

View File

@ -10,7 +10,7 @@
# Check the following 4 variables before running the script # Check the following 4 variables before running the script
topdir=git topdir=git
version=1.5.3.4 version=1.5.3.4
pkgver=2 pkgver=3
source[0]=$topdir-$version.tar.bz2 source[0]=$topdir-$version.tar.bz2
source[1]=$topdir-manpages-$version.tar.bz2 source[1]=$topdir-manpages-$version.tar.bz2
# If there are no patches, simply comment this # If there are no patches, simply comment this
@ -40,7 +40,7 @@ prep()
# mv Makefile.1 Makefile # mv Makefile.1 Makefile
sed -e '/Define NO_TCLTK/ s/.*/NO_TCLTK=Yes/' Makefile > Makefile.1 sed -e '/Define NO_TCLTK/ s/.*/NO_TCLTK=Yes/' Makefile > Makefile.1
mv Makefile.1 Makefile mv Makefile.1 Makefile
sed -e '/^LDFLAGS/ s;.*;LDFLAGS = -L/usr/sbware/lib -R/usr/sbware/lib;' Makefile > Makefile.1 sed -e '/^LDFLAGS/ s;.*;LDFLAGS = -L/usr/sbware/lib -R/usr/sbware/lib -L/usr/local/lib -R/usr/local/lib;' Makefile > Makefile.1
mv Makefile.1 Makefile mv Makefile.1 Makefile
sed -e "/^prefix =/ s;.*;prefix = $prefix;" Makefile > Makefile.1 sed -e "/^prefix =/ s;.*;prefix = $prefix;" Makefile > Makefile.1
mv Makefile.1 Makefile mv Makefile.1 Makefile