Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Sep 2002 11:16:42 +0200 (CEST)
From:      Udo Schweigert <udo.schweigert@siemens.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        cy@FreeBSD.org
Subject:   ports/42545: x11-wm/fvwm2: make package fails.
Message-ID:  <200209080916.g889Gg4w044788@alaska.cert.siemens.de>

next in thread | raw e-mail | index | archive | help

>Number:         42545
>Category:       ports
>Synopsis:       x11-wm/fvwm2: make package fails.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 08 02:20:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Udo Schweigert
>Release:        FreeBSD 4.7-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD alaska.cert.siemens.de 4.7-PRERELEASE FreeBSD 4.7-PRERELEASE #16: Fri Sep 6 14:50:01 CEST 2002 ust@alaska.cert.siemens.de:/usr/obj/work/src/RELENG_4/sys/alaska i386

>Description:

"make package" fails if not used in a GNOME environment (but even with GNOME
I think the package won't be built because share/gnome/fvwm isn't filled).

Here's what I got:

===>  Building package for fvwm-imlib-2.4.9
Creating package /usr/ports/packages/All/fvwm-imlib-2.4.9.tbz
Registering depends: XFree86-libraries-4.2.1 freetype2-2.1.2 imake-4.2.0_1 m4-1.4_1.
Creating bzip'd tar ball in '/usr/ports/packages/All/fvwm-imlib-2.4.9.tbz'
tar: share/gnome/fvwm/ConfigFvwmBacker: Cannot stat: No such file or directory
tar: share/gnome/fvwm/ConfigFvwmButtons: Cannot stat: No such file or directory

....

>How-To-Repeat:

make -DWITHOUT_GNOME package

>Fix:

The variable HAVE_GNOME is always defined. The correct way to check for GNOME
(as stated in /usr/ports/Mk/bsd.gnomeng.mk) is like in this patch:

--- Makefile.orig	Mon Sep  2 06:06:59 2002
+++ Makefile	Sun Sep  8 11:03:18 2002
@@ -52,7 +52,7 @@
 
 PLIST_SUB+=	FVWM_VERSION="${PORTVERSION}"
 
-.if defined(HAVE_GNOME)
+.if ${HAVE_GNOME:Mimlib}!=""
 USE_GNOME=	yes
 PLIST_SUB+=	GNOMEDATADIR="share/gnome/fvwm"
 .else

This also leaves the packages name without the -imlib suffix.
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209080916.g889Gg4w044788>