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'`
20 if ! test -d "$FIREFOX_JS_LIBDIR" ; then
22 diff -ur gjs-0.7.4-o//Makefile-gi.am gjs-0.7.4/Makefile-gi.am
23 --- gjs-0.7.4-o//Makefile-gi.am 2010-09-17 06:49:48.000000000 -0600
24 +++ gjs-0.7.4/Makefile-gi.am 2010-10-14 23:06:07.000000000 -0600
28 libgjs_gi_la_LDFLAGS = \
29 - -export-symbols-regex "^[^_].*" -version-info 0:0:0 -rdynamic -no-undefined
30 + -export-symbols-regex "^[^_].*" -version-info 0:0:0 -rdynamic -no-undefined -R $(FIREFOX_JS_LIBDIR)
32 nobase_gjsgiinclude_HEADERS = \