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
5 FIREFOX_JS_SDKDIR=`$PKG_CONFIG --variable=sdkdir $JS_PACKAGE`
6 FIREFOX_JS_LIBDIR=`$PKG_CONFIG --variable=libdir $JS_PACKAGE`
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