From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jun 4 22:20:09 2011 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 85BB11065673 for ; Sat, 4 Jun 2011 22:20:09 +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 521EC8FC15 for ; Sat, 4 Jun 2011 22:20:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p54MK96Z039827 for ; Sat, 4 Jun 2011 22:20:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p54MK9x8039826; Sat, 4 Jun 2011 22:20:09 GMT (envelope-from gnats) Resent-Date: Sat, 4 Jun 2011 22:20:09 GMT Resent-Message-Id: <201106042220.p54MK9x8039826@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, Niclas Zeising Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 273121065672 for ; Sat, 4 Jun 2011 22:18:25 +0000 (UTC) (envelope-from zeising@daemonic.se) Received: from mail.lysator.liu.se (unknown [IPv6:2001:6b0:17:f0a0::3]) by mx1.freebsd.org (Postfix) with ESMTP id CD5F68FC14 for ; Sat, 4 Jun 2011 22:18:24 +0000 (UTC) Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id 26A0D40005 for ; Sun, 5 Jun 2011 00:18:24 +0200 (CEST) Received: by mail.lysator.liu.se (Postfix, from userid 1004) id 1BD7340007; Sun, 5 Jun 2011 00:18:24 +0200 (CEST) Received: from mx.daemonic.se (h-90-99.A163.priv.bahnhof.se [79.136.90.99]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id A40F540005 for ; Sun, 5 Jun 2011 00:18:23 +0200 (CEST) Received: from mail.daemonic.se (mail.daemonic.se [IPv6:2001:470:dca9:0:1::4]) by mx.daemonic.se (Postfix) with ESMTPS id 7842F119C04 for ; Sun, 5 Jun 2011 00:18:23 +0200 (CEST) Received: from vincent.daemonic.se (login.daemonic.se [IPv6:2001:470:dca9:0:1::10]) by mail.daemonic.se (Postfix) with ESMTPS id 5DCB112B2DA for ; Sun, 5 Jun 2011 00:18:23 +0200 (CEST) Received: (from zeising@localhost) by vincent.daemonic.se (8.14.4/8.14.4/Submit) id p54MIN4A014630; Sun, 5 Jun 2011 00:18:23 +0200 (CEST) (envelope-from zeising) Message-Id: <201106042218.p54MIN4A014630@vincent.daemonic.se> Date: Sun, 5 Jun 2011 00:18:23 +0200 (CEST) From: Niclas Zeising To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/157618: [PATCH] fix broken configure script of x11-wm/fvwm2 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Niclas Zeising List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jun 2011 22:20:09 -0000 >Number: 157618 >Category: ports >Synopsis: [PATCH] fix broken configure script of x11-wm/fvwm2 >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 Jun 04 22:20:08 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Niclas Zeising >Release: FreeBSD 8.2-RELEASE amd64 >Organization: >Environment: System: FreeBSD vincent.daemonic.se 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Wed Apr 20 17:22:47 CEST 2011 root@vincent.daemonic.se:/usr/obj/usr/src/sys/VINCENT amd64 >Description: The configure script supplied with the vendor sources for x11-wm/fvwm is broken and won't detect libXcursor if that is not located in ld's default path, which is (normally) the case in FreeBSD (where ports libs are in /usr/local/lib by default). This will not render in any error, and the port will install just fine, but it will not use libXcursor, even if it's present. >How-To-Repeat: >Fix: The attached patch is a patch sent to and approved by the vendor. It is possible to use this patch to patch configure.ac and then use autoconf to generate a new configure script. Another option is to patch the configure script directly, or use some sort of REINPLACE in the makefile. I don't know what is the best course of action. --- fvwm.configure.ac.diff begins here --- Index: configure.ac =================================================================== RCS file: /home/cvs/fvwm/fvwm/configure.ac,v retrieving revision 1.69 diff -u -d -r1.69 configure.ac --- configure.ac 16 Apr 2011 21:46:36 -0000 1.69 +++ configure.ac 4 Jun 2011 15:47:30 -0000 @@ -656,7 +656,7 @@ ],[ with_xcursor=no problem_xcursor=": Failed to detect libXcursor" - ],) + ],[$X_LIBS $X_PRE_LIBS -lXext -lX11 $X_EXTRA_LIBS]) fi AC_SUBST(Xcursor_CFLAGS) AC_SUBST(Xcursor_LIBS) --- fvwm.configure.ac.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: