@@ -0,0 +1,35 @@
+Index: build/unix/Makefile.in
+===================================================================
+RCS file: /cvsroot/mozilla/build/unix/Makefile.in,v
+retrieving revision 1.27
+diff -u -r1.27 Makefile.in
+--- build/unix/Makefile.in 7 Jul 2005 18:24:39 -0000 1.27
++++ build/unix/Makefile.in 6 Feb 2008 08:35:23 -0000
+@@ -48,6 +48,9 @@
+
+ include $(topsrcdir)/config/rules.mk
+
++# don't leak the patchlevel directory to embedding applications
++apilibdir = $(basename $(mozappdir))
++
+ # Hack to make sure that mozilla-config has the proper nspr dependencies
+ ifdef MOZ_NATIVE_NSPR
+ FULL_NSPR_CFLAGS=$(shell $(NSPR_CONFIG) --cflags)
+@@ -78,7 +81,7 @@
+ -e "s|%prefix%|$(prefix)|" \
+ -e "s|%exec_prefix%|$(exec_prefix)|" \
+ -e "s|%includedir%|$(includedir)|" \
+- -e "s|%libdir%|$(mozappdir)|" \
++ -e "s|%libdir%|$(apilibdir)|" \
+ -e "s|%idldir%|$(idldir)|" \
+ -e "s|%MOZILLA_VERSION%|$(MOZ_APP_VERSION)|" \
+ -e "s|%DEFS%|$(_DEFS)|" \
+@@ -90,7 +93,7 @@
+ -e "s|%prefix%|$(prefix)|" \
+ -e "s|%exec_prefix%|$(exec_prefix)|" \
+ -e "s|%includedir%|$(includedir)|" \
+- -e "s|%libdir%|$(mozappdir)|" \
++ -e "s|%libdir%|$(apilibdir)|" \
+ -e "s|%idldir%|$(idldir)|" \
+ -e "s|%MOZ_APP_NAME%|$(MOZ_APP_NAME)|" \
+ -e "s|%MOZILLA_VERSION%|$(MOZ_APP_VERSION)|" \
|