summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Stransky <stransky@fedoraproject.org>2007-12-19 16:43:29 +0000
committerMartin Stransky <stransky@fedoraproject.org>2007-12-19 16:43:29 +0000
commit0da741f10be85f5dcbf05ee2be23c7c86988bc0d (patch)
tree2300a14fb5b4c802910d9a5a2cc2bbf2136e603d
parentstart script fixes (diff)
downloadlibrewolf-fedora-ff-0da741f10be85f5dcbf05ee2be23c7c86988bc0d.tar.gz
librewolf-fedora-ff-0da741f10be85f5dcbf05ee2be23c7c86988bc0d.tar.bz2
librewolf-fedora-ff-0da741f10be85f5dcbf05ee2be23c7c86988bc0d.zip
fixed sdk path
-rwxr-xr-xfirefox-mozconfig1
-rw-r--r--firefox.spec5
2 files changed, 5 insertions, 1 deletions
diff --git a/firefox-mozconfig b/firefox-mozconfig
index 70f679a..428db49 100755
--- a/firefox-mozconfig
+++ b/firefox-mozconfig
@@ -23,7 +23,6 @@ ac_add_options --enable-pango
ac_add_options --enable-svg
ac_add_options --enable-canvas
ac_add_options --enable-startup-notification
-ac_add_options --with-libxul-sdk=/usr/lib64/xulrunner-sdk-1.9pre
ac_add_options --enable-libxul
export BUILD_OFFICIAL=1
diff --git a/firefox.spec b/firefox.spec
index cc57aa1..689ed90 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -107,6 +107,11 @@ compliance, performance and portability.
%if %{official_branding}
%{__cat} %{SOURCE11} >> .mozconfig
%endif
+%{__cat} %{SOURCE11} >> .mozconfig
+
+# Set up SDK path
+echo "ac_add_options --with-libxul-sdk=\
+`pkg-config --variable=sdkdir xulrunner-xpcom`" >> .mozconfig
# set up our default bookmarks
#%{__cp} %{default_bookmarks_file} $RPM_BUILD_DIR/mozilla/profile/defaults/bookmarks.html
bgstack15