Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

> 2) a shared build. Libraries are not installed at the regular place,
> but I think I can fix that. Compilation goes fine.

I can install at the proper place (LyX.app/Contents/Frameworks if I
believe apple) with the following patch. It does not change the
outcome, though.

JMarc

Index: config/lyxinclude.m4
===================================================================
--- config/lyxinclude.m4	(revision 19614)
+++ config/lyxinclude.m4	(working copy)
@@ -584,9 +584,10 @@
 	   PACKAGE=LyX${version_suffix}
 	   default_prefix="/Applications/${PACKAGE}.app"
 	   bindir='${prefix}/Contents/MacOS'
-	   libdir='${prefix}/Contents/Resources'
+	   libdir='${prefix}/Contents/Frameworks'
 	   datadir='${prefix}/Contents/Resources'
 	   pkgdatadir='${datadir}'
+	   pkglibdir='${libdir}'
 	   mandir='${datadir}/man' 
 	   lyx_install_macosx=true ;;
   windows) AC_DEFINE(USE_WINDOWS_PACKAGING, 1, [Define to 1 if LyX should use a Windows-style file layout])
@@ -596,16 +597,19 @@
 	   libdir='${prefix}/Resources'
 	   datadir='${prefix}/Resources'
 	   pkgdatadir='${datadir}'
+	   pkglibdir='${libdir}/${PACKAGE}'
 	   mandir='${prefix}/Resources/man' ;;
     posix) AC_DEFINE(USE_POSIX_PACKAGING, 1, [Define to 1 if LyX should use a POSIX-style file layout])
 	   PACKAGE=lyx${version_suffix}
 	   program_suffix=$version_suffix
 	   pkgdatadir='${datadir}/${PACKAGE}'
+	   pkglibdir='${libdir}/${PACKAGE}'
 	   default_prefix=$ac_default_prefix ;;
     *) LYX_ERROR([Unknown packaging type $lyx_use_packaging]) ;;
 esac
 AM_CONDITIONAL(INSTALL_MACOSX, $lyx_install_macosx)
 AC_SUBST(pkgdatadir)
+AC_SUBST(pkglibdir)
 AC_SUBST(program_suffix)
 ])
 

Reply via email to