From 4d0d979899715409de7a0edbfd3c487543a48cf2 Mon Sep 17 00:00:00 2001 From: "Tom G. Christensen" Date: Sun, 24 Oct 2004 11:52:17 +0000 Subject: [PATCH] Turn of stripping of static archives Reimplement the auto keyword for depends. It's now used slightly differently, where before it would create an explicit depend on sw.base it can create a depend on any internal subsystem In depends you can now put: sw.base sw.lib auto And you sw.base will automatically depend on the explicit version of sw.lib --- buildpkg.packaging.irix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/buildpkg.packaging.irix b/buildpkg.packaging.irix index 84b1748..15336b1 100644 --- a/buildpkg.packaging.irix +++ b/buildpkg.packaging.irix @@ -30,12 +30,13 @@ gzman=1 # strip? dostrip=1 +dostrip_static=0 # Atleast std. Irix strip seems to mangle archives if strip -f is used # Setup default args for strip. They match /usr/bin/strip in Irix 6.2 # Change these if you're using strip from GNU Binutils (recommended) strip_elf_args="" # GNU default is -g strip_shared_args="-f" # GNU default is --strip-unneeded -strip_static_args="" # GNU default is -g +strip_static_args="-f" # GNU default is -g # Other usedepend=1 # Don't use depend file even if it's available @@ -362,12 +363,14 @@ fetch_depends() { if [ -r $depends ]; then reqidx=0 - while read ss req + while read ss reqpkg reqvers do reqs[$reqidx]=$ss - if [ "$req" == "auto" ]; then # auto create depend on sw.base + if [ "$reqvers" == "auto" ]; then # auto create depend on $reqpkg (assumed internal) nver=$(fix_ver "$version-$pkgver") - req="$pkgname.sw.base $nver $nver" + req="$pkgname.$reqpkg $nver $nver" + else + req="$reqpkg $reqvers" fi reqp[$reqidx]=$req let "reqidx = $reqidx + 1"