Bug 122466 - [patch] databases/tora port does not build when knob WITHOUT_KDE is set
Summary: [patch] databases/tora port does not build when knob WITHOUT_KDE is set
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Thierry Thomas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-05 14:00 UTC by Jose G. Juanino
Modified: 2008-04-05 21:50 UTC (History)
0 users

See Also:


Attachments
file.diff (460 bytes, patch)
2008-04-05 14:00 UTC, Jose G. Juanino
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!