From owner-freebsd-ports-bugs@FreeBSD.ORG Fri May 13 11:10:03 2005 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 39ED716A4CE for ; Fri, 13 May 2005 11:10:03 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F02EB43D5F for ; Fri, 13 May 2005 11:10:02 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4DBA2fM000797 for ; Fri, 13 May 2005 11:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4DBA2dW000796; Fri, 13 May 2005 11:10:02 GMT (envelope-from gnats) Resent-Date: Fri, 13 May 2005 11:10:02 GMT Resent-Message-Id: <200505131110.j4DBA2dW000796@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, vd@datamax.bg Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D14416A4CE for ; Fri, 13 May 2005 11:09:55 +0000 (GMT) Received: from jengal.datamax.bg (jengal.datamax.bg [82.103.104.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C6DA43D5F for ; Fri, 13 May 2005 11:09:54 +0000 (GMT) (envelope-from vd@datamax.bg) Received: from sinanica.bg.datamax (sinanica.bg.datamax [192.168.10.1]) by jengal.datamax.bg (Postfix) with QMQP id 923DB87CE for ; Fri, 13 May 2005 14:09:52 +0300 (EEST) Received: (nullmailer pid 68066 invoked by uid 1004); Fri, 13 May 2005 11:09:52 -0000 Message-Id: <20050513110952.GA59444@sinanica.bg.datamax> Date: Fri, 13 May 2005 14:09:52 +0300 From: Vasil Dimov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/80971: fvwm2 overrides PKGNAMESUFFIX set by fvwm2-i18n X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: vd@datamax.bg List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 May 2005 11:10:03 -0000 >Number: 80971 >Category: ports >Synopsis: fvwm2 overrides PKGNAMESUFFIX set by fvwm2-i18n >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: Fri May 13 11:10:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Vasil Dimov >Release: FreeBSD 5.4-STABLE i386 >Organization: DataMax >Environment: System: FreeBSD sinanica.bg.datamax 5.4-STABLE FreeBSD 5.4-STABLE #6: Tue May 10 12:46:25 EEST 2005 root@sinanica.bg.datamax:/usr/obj/usr/src/sys/SINANICA-SMP i386 >Description: If imlib is installed on the system (${HAVE_GNOME:Mimlib}!="") then x11-wm/fvwm2's Makefile sets PKGNAMESUFFIX regardless of its old value which may have been previously set by x11-wm/fvwm2-i18n. As a result we get two ports with identical PKGNAME which leads to incorrect make search results and warnings while INDEX builds. % make index ... Warning: Duplicate INDEX entry: fvwm-imlib-2.4.19 >How-To-Repeat: Make sure graphics/imlib is installed: ${HAVE_GNOME:Mimlib}!="" needs to be true. % cd /usr/ports/x11-wm/fvwm2 && make -V PKGNAME fvwm-imlib-2.4.19 % cd /usr/ports/x11-wm/fvwm2-i18n && make -V PKGNAME fvwm-imlib-2.4.19 % cd /usr/ports && make index % cd /usr/ports && make search name=fvwm (notice the missing port) >Fix: I think the following patch should be applied to x11-wm/fvwm2/Makefile It makes fvwm2-i18n's PKGNAME fvwm2-i18n-imlib-2.4.19 (or fvwm2-i18n-2.4.19 if no imlib is installed) --- Makefile.patch begins here --- --- fvwm2/Makefile.orig Fri May 13 13:31:12 2005 +++ fvwm2/Makefile Fri May 13 13:45:08 2005 @@ -60,7 +60,7 @@ .if ${HAVE_GNOME:Mimlib}!="" USE_GNOME= imlib -PKGNAMESUFFIX= -imlib +PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-imlib CONFIGURE_ARGS+= --with-gnome --enable-gnome-hints \ --enable-gtktest --enable-imlibtest PLIST_SUB+= GTK="" --- Makefile.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: