]> git.pld-linux.org Git - packages/gjs.git/blob - gjs-rpath.patch
- rel 4
[packages/gjs.git] / gjs-rpath.patch
1 diff -ur gjs-0.7.4-o//configure.ac gjs-0.7.4/configure.ac
2 --- gjs-0.7.4-o//configure.ac   2010-10-04 14:05:05.000000000 -0600
3 +++ gjs-0.7.4/configure.ac      2010-10-14 23:12:27.000000000 -0600
4 @@ -116,14 +116,14 @@
5          FIREFOX_JS_SDKDIR=`$PKG_CONFIG --variable=sdkdir $JS_PACKAGE`
6          FIREFOX_JS_LIBDIR=`$PKG_CONFIG --variable=libdir $JS_PACKAGE`
7  
8 -        ## Ubuntu does not set libdir in mozilla-js.pc
9 +        ## PLD does not set libdir in mozilla-js.pc
10          if test x"$FIREFOX_JS_LIBDIR" = x; then
11 -            ## Ubuntu returns xulrunner-devel as the sdkdir, but for the
12 +            ## PLD returns xulrunner-devel as the sdkdir, but for the
13              ## libdir we want the runtime location on the target system,
14              ## so can't use -devel.
15              ## The library is in the non-devel directory also.
16              ## Don't ask me why it's in two places.
17 -            FIREFOX_JS_LIBDIR=`echo "$FIREFOX_JS_SDKDIR" | sed -e 's/-devel//g'`
18 +            FIREFOX_JS_LIBDIR=`echo "$FIREFOX_JS_SDKDIR" | sed -e 's/-sdk//g'`
19              if ! test -d "$FIREFOX_JS_LIBDIR"; then
20                  FIREFOX_JS_LIBDIR=
21              fi
This page took 0.245769 seconds and 3 git commands to generate.