libIDLConf.sh.in is missing a final newline



I've observed that ORBit 0.5.7 does not quite install correctly
on Solaris 2.8 because the libIDL/libIDLConf.sh.in file lacks a terminating
newline.  The last line of the file needs a newline at the end.

The makefile uses the native sed to replace keywords in this file to
produce the libIDLConf.sh config file.  On Solaris 2.8, sed ignores the
last line because of the missing newline so that line, containing the
MODULE_VERSION setting, is missing from libIDLConf.sh.  (GNU sed can cope
with the file as it is, which is probably why this problem hasn't been
fixed before.)

This, in turn, breaks "gnome-config --modversion libIDL", which returns
the gnome version instead, since it can't get a version out of
libIDLConf.sh, and that breaks the bonobo configuration (among other
things).

I've appended a diff that adds a blank line to the end of the file
which will ensure the MODULE_VERSION line gets its newline.

thanks,

    -- Larry

*** libIDLConf.sh.in.orig       Sat Sep 18 18:31:11 1999
--- libIDLConf.sh.in    Fri Apr 20 01:06:53 2001
***************
*** 4,7 ****
  LIBIDL_INCLUDEDIR="@LIBIDL_INCLUDEDIR@"
  LIBIDL_LIBDIR="@LIBIDL_LIBDIR@"
  LIBIDL_LIBS="@LIBIDL_LIBS@"
! MODULE_VERSION="libIDL- VERSION@"
--- 4,8 ----
  LIBIDL_INCLUDEDIR="@LIBIDL_INCLUDEDIR@"
  LIBIDL_LIBDIR="@LIBIDL_LIBDIR@"
  LIBIDL_LIBS="@LIBIDL_LIBS@"
! MODULE_VERSION="libIDL- VERSION@"
!





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]