Subject: pkg/37294: xorg-cf-files causes imake/gmake packages to fail
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <cheusov@tut.by>
List: pkgsrc-bugs
Date: 11/07/2007 03:40:00
>Number:         37294
>Category:       pkg
>Synopsis:       xorg-cf-files causes imake/gmake packages to fail
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 07 03:40:00 +0000 2007
>Originator:     cheusov@tut.by
>Release:        NetBSD 4.0_RC3
>Organization:
>Environment:
System: NetBSD chen.chizhovka.net 4.0_RC3 NetBSD 4.0_RC3 (GENERIC) #2: Sat Oct 20 21:41:02 EEST 2007 cheusov@chen.chizhovka.net:/srv/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
xorg-cf-files causes imake/gmake packages to fail under Linux because of
files/host.def imake file that contains
#define MakeCmd @MAKE@

log: (-C gmake option is used)
http://mova.org/~cheusov/pub/pkgsrc-pbulk/Debian-etch/current/log//20071103.1353/nas-1.9/configure.log

    ./../../config/NetAudio.tmpl:123: warning: "SharedLibX" is not defined
    making Makefiles in doc/man/lib...
    mv -f Makefile Makefile.bak
    In file included from ./Imakefile:26,
    from /usr/pkg/lib/X11/config/Imake.tmpl:2194,
    from Imakefile.c:35:
    ./../../../config/NetAudio.tmpl:123: warning: "SharedLibX" is not defined
    making Makefiles in config...
    In file included from ./Imakefile:10,
    from /usr/pkg/lib/X11/config/Imake.tmpl:2194,
    from Imakefile.c:35:
    ./NetAudio.tmpl:123: warning: "SharedLibX" is not defined
    make includes
    including in ./include...
    usage: bmake [-BeikNnqrstWX] [-D variable] [-d flags] [-f makefile]
    [-I directory] [-J private] [-j max_jobs] [-m directory] [-T file]
    [-V variable] [variable=value] [target ...]
    make: *** [includes] Error 2
    *** Error code 2

    Stop.
    bmake: stopped in /srv/pkgsrc/audio/nas
    WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile.
    WARNING: *** Please consider adding fortran to USE_LANGUAGES in the package Makefile.
    *** Error code

>Fix:
After removing
   #define MakeCmd @MAKE@
line audio/nas is compiled sucessfully