Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jul 2002 12:58:03 +0900
From:      "R. Lahaye" <lahaye@snu.ac.kr>
To:        dirk@FreeBSD.org, cjh@FreeBSD.org, ports@FreeBSD.org
Subject:   FreeBSD Port: lyx-1.1.6.4_1
Message-ID:  <3D2D024B.FE93C168@snu.ac.kr>

next in thread | raw e-mail | index | archive | help

Hi,

Please notice that lyx-1.2.0 has been released quite some time ago.

Since FreeBSD now also comes with xforms 1.0rc4, there is a patch
needed to the configure script, to make the -lforms test work:


--------------------------------------------------------------
--- configure   Thu Jul 11 12:36:49 2002
+++ configure   Thu Jul 11 12:37:03 2002
@@ -9743,7 +9743,7 @@
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   ac_save_LIBS="$LIBS"
-LIBS="-lforms  $LIBS"
+LIBS="-lforms -lXpm $LIBS"
 cat > conftest.$ac_ext <<EOF
 #line 9749 "configure"
 #include "confdefs.h"
--------------------------------------------------------------


This probably implies an additional dependency on the xpm
package, I suppose.

Futhermore, another patch needs to remove the Xforms version
test in src/frontends/xforms/GUIRunTime.C:

--------------------------------------------------------------
--- src/frontends/xforms/GUIRunTime.C   Thu Jul 11 12:52:42 2002
+++ src/frontends/xforms/GUIRunTime.C   Thu Jul 11 12:53:20 2002
@@ -27,9 +27,9 @@
 // I keep these here so that it will be processed as early in
 // the compilation process as possible.
 #if !defined(FL_REVISION) || FL_REVISION < 88 || FL_VERSION != 0
-#error LyX will not compile with this version of XForms.\
-       Please get version 0.89.\
-       If you want to try to compile anyway, delete this test in
src/frontends/xforms/GUIRunTime.C.
+//#error LyX will not compile with this version of XForms.\
+//       Please get version 0.89.\
+//       If you want to try to compile anyway, delete this test in
src/frontends/xforms/GUIRunTime.C.
 #endif
 

--------------------------------------------------------------

After these patches, LyX + Xforms compile like a charm on my
FreeBSD 4.5 PC.

Regards,
Rob.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D2D024B.FE93C168>