From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Apr 5 13:00:12 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 160AD1065672 for ; Sat, 5 Apr 2008 13:00:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D45D68FC1D for ; Sat, 5 Apr 2008 13:00:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m35D0B86082881 for ; Sat, 5 Apr 2008 13:00:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m35D0Beh082880; Sat, 5 Apr 2008 13:00:11 GMT (envelope-from gnats) Resent-Date: Sat, 5 Apr 2008 13:00:11 GMT Resent-Message-Id: <200804051300.m35D0Beh082880@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, José García Juanino Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71342106566B for ; Sat, 5 Apr 2008 12:57:48 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 4DA138FC1F for ; Sat, 5 Apr 2008 12:57:48 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m35CvdNm035770 for ; Sat, 5 Apr 2008 12:57:39 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m35CvcQD035769; Sat, 5 Apr 2008 12:57:38 GMT (envelope-from nobody) Message-Id: <200804051257.m35CvcQD035769@www.freebsd.org> Date: Sat, 5 Apr 2008 12:57:38 GMT From: José García Juanino To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/122466: [patch] databases/tora port does not build when knob WITHOUT_KDE is set X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Apr 2008 13:00:12 -0000 >Number: 122466 >Category: ports >Synopsis: [patch] databases/tora port does not build when knob WITHOUT_KDE is set >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Apr 05 13:00:11 UTC 2008 >Closed-Date: >Last-Modified: >Originator: José García Juanino >Release: 7.0-RELEASE >Organization: >Environment: FreeBSD ********* 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Thu Feb 28 13:54:34 CET 2008 root@sanabria.inad.es:/export/FreeBSD/obj70/export/FreeBSD/src70/sys/MK2008Feb28 i386 >Description: 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' >How-To-Repeat: Build the port with WITHOUT_KDE knob set >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: --- configure.ac.orig 2008-03-09 21:03:43.000000000 +0100 +++ configure.ac 2008-04-05 14:34:02.000000000 +0200 @@ -53,6 +53,9 @@ AX_PATH_LIB_PCRE AM_PATH_CPPUNIT([1.10.2], found_cppunit=yes) AM_CONDITIONAL([CPPUNIT], [test "x$found_cppunit" = "xyes"]) +# is mandatory check for libcompat +AC_CHECK_LIB(compat, main, [LIBCOMPAT="-lcompat"]) dnl for *BSD +AC_SUBST(LIBCOMPAT) # Makefile.am uses these AM_CONDITIONAL(ENABLE_MONO, test "$enable_mono" = yes) >Release-Note: >Audit-Trail: >Unformatted: