The following reply was made to PR pkg/34922; it has been noted by GNATS.
From: Aleksey Cheusov <cheusov%tut.by@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/34922 net/tightvnc not building on Solaris 10
Date: Sat, 17 Dec 2011 15:32:05 +0300
With pkgsrc bootstrapped with gcc net/tightvnc fails like the following
/opt/SUNWspro/bin/cc -xO3 -Xa -I../.././ -I../.././/exports/include
-Dsun -DSVR4 -I/usr/include -I/usr/pkg/include -c makestrs.c
sh: /opt/SUNWspro/bin/cc: not found
*** Error code 1
make: Fatal error: Command failed for target `makestrs.o'
Current working directory
/tmp/obj_pkgsrc/net/tightvnc/work/vnc_unixsrc/Xvnc/config/util
*** Error code 1
The package completely ignores pkgsrc settings. It tries to use sunpro
which is not installed on my system while pkgsrc was bootstrapped with gcc.
What is the correct way to configure imake-based project for pkgsrc?
Addition of
#define CcCmd ${CC}
to Xvnc/config/cf/site.def solves this immediate problem but I'm not
sure this is the correct fix. I need a full list of variables to modify
(CcCmd, DefaultCCOptions etc.).
--
Best regards, Aleksey Cheusov.