Subject: pkg/29886: pkg x11/xorg-imake fails to build on darwin/osx
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 04/05/2005 02:05:01
>Number:         29886
>Category:       pkg
>Synopsis:       pkg x11/xorg-imake fails to build on darwin/osx
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 05 02:05:01 +0000 2005
>Originator:     daishi
>Release:        n/a
Darwin emu 7.8.0 Darwin Kernel Version 7.8.0: Wed Dec 22 14:26:17 PST 2004; root:xnu/xnu-517.11.1.obj~1/RELEASE_PPC  Power Macintosh powerpc
x11/xorg-imake fails to build with the error:

./config/imake/imake -I./config/cf  -s ./config/makedepend/Makefile.proto -f ./config/makedepend/Imakefile -DTOPDIR=../.. -DCURDIR=./config/makedepend
In file included from config/cf/Imake.tmpl:105,
                 from Imakefile.c:15:
config/cf/ token "@" is not valid in preprocessor expressions
./config/imake/imake: Exit code 1.
*** Error code 1

By examining the file work/xc/config/cf/
and changing @@DARWIN_USE_QUARTZ@@ to YES it appears
I have managed to install this package.

I tried to set DARWIN_USE_QUARTZ=YES in /etc/mk.conf,
but this didn't seem to make a difference with how was generated. (I did bmake clean to
regenerate, but most of this is opaque
to me).