From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Apr 27 14:40:16 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB98A37B401 for ; Sun, 27 Apr 2003 14:40:16 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE78543FBD for ; Sun, 27 Apr 2003 14:40:15 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h3RLeFUp058612 for ; Sun, 27 Apr 2003 14:40:15 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h3RLeFUw058611; Sun, 27 Apr 2003 14:40:15 -0700 (PDT) Resent-Date: Sun, 27 Apr 2003 14:40:15 -0700 (PDT) Resent-Message-Id: <200304272140.h3RLeFUw058611@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, Dimitry Andric Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B030437B401 for ; Sun, 27 Apr 2003 14:38:16 -0700 (PDT) Received: from tensor.xs4all.nl (tensor.xs4all.nl [194.109.160.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27B2043FAF for ; Sun, 27 Apr 2003 14:38:16 -0700 (PDT) (envelope-from dim@tensor.xs4all.nl) Received: by tensor.xs4all.nl (Postfix, from userid 1000) id 464E8555C; Sun, 27 Apr 2003 23:38:13 +0200 (CEST) Message-Id: <20030427213813.464E8555C@tensor.xs4all.nl> Date: Sun, 27 Apr 2003 23:38:13 +0200 (CEST) From: Dimitry Andric To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/51481: icewm-1.2.7 port fails on libintl.h X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dimitry Andric List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Apr 2003 21:40:17 -0000 >Number: 51481 >Category: ports >Synopsis: icewm-1.2.7 port fails on libintl.h >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Apr 27 14:40:15 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Dimitry Andric >Release: FreeBSD 4.8-STABLE i386 >Organization: >Environment: System: FreeBSD tensor.xs4all.nl 4.8-STABLE FreeBSD 4.8-STABLE #0: Sun Apr 20 20:59:19 CEST 2003 root@tensor.xs4all.nl:/usr/obj/usr/src/sys/TENSOR i386 >Description: Building the icewm-1.2.7 port fails on libintl.h, although the gettext port is installed properly, and libintl.h is in /usr/local/include. This is because the CXXFLAGS variable, used for compiling .cc files, does not contain a -I/usr/local/include option. Additionally, if such an option is manually added, the compilation fails later in the linking stage, because the LFLAGS variable, used with linking, does not contain a -L/usr/local/lib option. >How-To-Repeat: Try to build the icewm-1.2.7 port. ===> Building for icewm-1.2.7 gmake[1]: Entering directory `/usr/ports/x11-wm/icewm/work/icewm-1.2.7/src' Compiling ymsgbox.o... In file included from ymsgbox.cc:20: intl.h:7: libintl.h: No such file or directory In file included from ymsgbox.cc:17: wmframe.h: In method `bool YFrameWindow::isFullscreen() const': wmframe.h:347: warning: can't inline call to `long int YFrameWindow::getState() const' wmframe.h:263: warning: called from here ymsgbox.cc: In method `YMsgBox::YMsgBox(int, YWindow * = 0)': ymsgbox.cc:34: warning: implicit declaration of function `int gettext(...)' ymsgbox.cc:34: no matching function for call to `YActionButton::setText (int)' ybutton.h:24: candidates are: void YButton::setText(const char *, int = -1) ymsgbox.cc:42: no matching function for call to `YActionButton::setText (int)' ybutton.h:24: candidates are: void YButton::setText(const char *, int = -1) gmake[1]: *** [ymsgbox.o] Error 1 gmake[1]: Leaving directory `/usr/ports/x11-wm/icewm/work/icewm-1.2.7/src' gmake: *** [base] Error 2 *** Error code 2 Stop in /usr/ports/x11-wm/icewm. >Fix: I'm not sure about the mechanism that the icewm configure script uses to construct the compilation variables, so I simply hack the Makefiles after the configure stage, and manually add -I/usr/local/include en -L/usr/local/lib. How this is done properly with the autoconf stuff is quite beyond me. :) >Release-Note: >Audit-Trail: >Unformatted: