[SCM] libav/wheezy-security: configure: use utilities from /usr/xpg4/bin if it exists

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 1 21:36:11 UTC 2014


The following commit has been merged in the wheezy-security branch:
commit afab4c422b60e83419e10ee3dd4ba7001798b3db
Author: Mans Rullgard <mans at mansr.com>
Date:   Fri Sep 7 12:50:43 2012 +0100

    configure: use utilities from /usr/xpg4/bin if it exists
    
    Solaris defaults to non-standard utilities (grep, sed, ...) with
    proper ones being in /usr/xpg4/bin.  Prefixing PATH with this
    directory when it exists ensures we get correct variants.
    
    Signed-off-by: Mans Rullgard <mans at mansr.com>

diff --git a/configure b/configure
index bcfbe4e..13066e2 100755
--- a/configure
+++ b/configure
@@ -54,6 +54,8 @@ if test "$E1" != 0 || test "$E2" = 0; then
     exit 1
 fi
 
+test -d /usr/xpg4/bin && PATH=/usr/xpg4/bin:$PATH
+
 show_help(){
 cat <<EOF
 Usage: configure [options]

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list