Tweak xzutils for SunOS 5.6/x86
This commit is contained in:
parent
523fdb9242
commit
1b528662d9
@ -7,7 +7,7 @@
|
|||||||
# Check the following 4 variables before running the script
|
# Check the following 4 variables before running the script
|
||||||
topdir=xz
|
topdir=xz
|
||||||
version=5.0.3
|
version=5.0.3
|
||||||
pkgver=1
|
pkgver=2
|
||||||
source[0]=http://tukaani.org/xz/$topdir-$version.tar.gz
|
source[0]=http://tukaani.org/xz/$topdir-$version.tar.gz
|
||||||
# If there are no patches, simply comment this
|
# If there are no patches, simply comment this
|
||||||
#patch[0]=
|
#patch[0]=
|
||||||
@ -23,6 +23,13 @@ reg prep
|
|||||||
prep()
|
prep()
|
||||||
{
|
{
|
||||||
generic_prep
|
generic_prep
|
||||||
|
if [ "$_os" = "sunos56" -a "$arch" = "i386" ]; then
|
||||||
|
# Replacing Wl,-z text with -mimpure-text is a workaround to avoid
|
||||||
|
# "ld: fatal: relocations remain against allocatable but non-writable sections"
|
||||||
|
# when linking liblzma
|
||||||
|
setdir source
|
||||||
|
sed -i 's|\${wl}-z \${wl}text|-mimpure-text|g' configure
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
reg build
|
reg build
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
CHANGELOG
|
CHANGELOG
|
||||||
---------
|
---------
|
||||||
|
* Fri Jun 3 2011 Tom G. Christensen <swpkg@jupiterrise.com> - 5.0.3-2
|
||||||
|
- Workaround linker error on SunOS 5.6/x86
|
||||||
|
|
||||||
* Fri Jun 3 2011 Tom G. Christensen <swpkg@jupiterrise.com> - 5.0.3-1
|
* Fri Jun 3 2011 Tom G. Christensen <swpkg@jupiterrise.com> - 5.0.3-1
|
||||||
- Initial package
|
- Initial package
|
||||||
|
Loading…
x
Reference in New Issue
Block a user