From c99cf91ee175e71965a2cd36f9272af4c6eeb0a5 Mon Sep 17 00:00:00 2001 From: "Tom G. Christensen" Date: Sat, 19 Dec 2009 16:33:48 +0100 Subject: [PATCH] Make the use of an updates file optional IRIX 5.3 does not support the 'updates' keyword in specfiles so it's necessary to make it optional. --- buildpkg.packaging.irix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildpkg.packaging.irix b/buildpkg.packaging.irix index 1123d99..c8183e1 100644 --- a/buildpkg.packaging.irix +++ b/buildpkg.packaging.irix @@ -63,6 +63,7 @@ strip_static_args="-f" # GNU default is -g # Other usedepend=1 # Don't use depend file even if it's available usescripts=1 # Don't add ops even if they're available +useupdates=1 # Enable/disable the use of an updates file if available ignore_unpackaged_files=0 # default to check for unpackaged files in the stage area include_source=0 # Include source[x] in the opt.src subsystem and not just patch[x] useautodir=1 # Enable or disable the auto_dir run @@ -724,7 +725,7 @@ create_spec() fetch_subsysdesc fetch_depends fetch_replaces - fetch_updates + [ $useupdates -eq 1 ] && fetch_updates spec_header $pkgname "$name $version-${pkgver}${shortdesc}" > $specfile local pcsize=${#pc[@]} local pctopsize=${#pctop[@]}