pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/45993: x11/xlockmore: no -rpath on linux



The following reply was made to PR pkg/45993; it has been noted by GNATS.

From: Stefan Schaeckeler <schaecsn%gmx.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/45993: x11/xlockmore: no -rpath on linux
Date: Sun, 12 Feb 2012 21:30:41 -0800 (PST)

 >  On Sun, Feb 12, 2012 at 08:20:00AM +0000, schaecsn%gmx.net@localhost wrote:
 >  > >Number:         45993
 >  > >Category:       pkg
 >  > >Synopsis:       x11/xlockmore: no -rpath on linux
 >  
 >  Please use ${COMPILER_RPATH_FLAG} instead of -Wl,-R, just to be on the safe 
 > side.
 
 That works, too.
 
 --- snip ---
 $NetBSD$
 
 --- configure.orig     2010-01-21 17:16:14.000000000 -0800
 +++ configure  2012-02-12 00:20:09.000000000 -0800
 @@ -9281,10 +9281,10 @@
          dirname=`which gcc`
          dirname=`dirname $dirname`
          dirname=`dirname $dirname`/lib
 -      if test "$dirname" != "/lib"; then
 -          XLOCK_LDFLAGS="${XLOCK_LDFLAGS}:$dirname"
 -          XMLOCK_LDFLAGS="${XMLOCK_LDFLAGS}:$dirname"
 -      fi
 +#     if test "$dirname" != "/lib"; then
 +#         XLOCK_LDFLAGS="${XLOCK_LDFLAGS}:$dirname"
 +#         XMLOCK_LDFLAGS="${XMLOCK_LDFLAGS}:$dirname"
 +#     fi
      fi
      XLOCKLDFLAGS="-Wl,-R${XLOCK_LDFLAGS}"
      XMLOCKLDFLAGS="-Wl,-R${XMLOCK_LDFLAGS}"
 @@ -9333,6 +9333,8 @@
      ac_fn_c_check_header_mongrel "$LINENO" "elf.h" "ac_cv_header_elf_h" 
"$ac_includes_default"
  if test "x$ac_cv_header_elf_h" = x""yes; then :
    $as_echo "#define HAVE_SHADOW 1" >>confdefs.h
 +    XLOCKLDFLAGS="${COMPILER_RPATH_FLAG}${XLOCK_LDFLAGS}"
 +    XMLOCKLDFLAGS="${COMPILER_RPATH_FLAG}${XMLOCK_LDFLAGS}"
  
  fi
  
 @@ -9428,10 +9430,10 @@
          dirname=`which gcc`
          dirname=`dirname $dirname`
          dirname=`dirname $dirname`/lib
 -      if test "$dirname" != "/lib"; then
 -          XLOCK_LDFLAGS="${XLOCK_LDFLAGS}:$dirname"
 -          XMLOCK_LDFLAGS="${XMLOCK_LDFLAGS}:$dirname"
 -      fi
 +#     if test "$dirname" != "/lib"; then
 +#         XLOCK_LDFLAGS="${XLOCK_LDFLAGS}:$dirname"
 +#         XMLOCK_LDFLAGS="${XMLOCK_LDFLAGS}:$dirname"
 +#     fi
      fi
      XLOCKLDFLAGS="-R${XLOCK_LDFLAGS}"
      XMLOCKLDFLAGS="-R${XMLOCK_LDFLAGS}"
 --- snip ---
 
  Stefan
 


Home | Main Index | Thread Index | Old Index