Bug 122466

Summary: [patch] databases/tora port does not build when knob WITHOUT_KDE is set
Product: Ports & Packages Reporter: Jose G. Juanino <jjuanino>
Component: Individual Port(s)Assignee: Thierry Thomas <thierry>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Jose G. Juanino 2008-04-05 14:00:11 UTC
When knob WITHOUT_KDE is set, tora does not build. At the final stage, it crashes with the following output:

/usr/local/oracle8-client/lib/libclntsh.a(sepco.o)(.text+0x7d): In function `sepcoget_login':
: undefined reference to `cuserid'

Fix: libcompat.a is not linking with the tora executable when WITHOUT_KDE is set because LIBCOMPAT variable is empty (check work/tora-1-3-end-of-life/Makefile). And this variable has not the correct value (-lcompat) because m4 macros (work/tora-1-3-end-of-life/config/m4/qtkde.m4)

   AC_CHECK_LIB(compat, main, [LIBCOMPAT="-lcompat"]) dnl for *BSD
   AC_SUBST(LIBCOMPAT)

are not taked into account when WITHOUT_KDE is set.

Therefore, adding that macros to configure.ac fixes the problem. I attach a new files/patch-configure.ac.

Regards

Patch attached with submission follows:
How-To-Repeat: Build the port with WITHOUT_KDE knob set
Comment 1 dfilter service freebsd_committer freebsd_triage 2008-04-05 21:40:29 UTC
thierry     2008-04-05 20:40:20 UTC

  FreeBSD ports repository

  Added files:
    databases/tora/files patch-configure.ac 
  Log:
  Fix build when knob WITHOUT_KDE is set.
  
  PR:             ports/122466
  Submitted by:   José García Juanino <jjuanino (at) gmail com>
  
  Revision  Changes    Path
  1.1       +13 -0     ports/databases/tora/files/patch-configure.ac (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 2 Thierry Thomas freebsd_committer freebsd_triage 2014-06-01 06:46:53 UTC
Responsible Changed
From-To: freebsd-ports-bugs->thierry


Take it.
Comment 3 Thierry Thomas freebsd_committer freebsd_triage 2014-06-01 06:46:53 UTC
State Changed
From-To: open->closed


Patch committed, thanks!