Subject: Re: non-native X on recent Solaris builds
To: None <tech-pkg@netbsd.org>
From: None <maciejej@msoe.edu>
List: tech-pkg
Date: 06/24/2005 12:24:28
Thanks, I solved the xorg-imake problem with:
--- Makefile.orig Fri Jun 24 11:17:06 2005
+++ Makefile Fri Jun 24 11:16:34 2005
@@ -69,6 +69,10 @@
-e "s|@LOCALBASE@|${LOCALBASE}|g " \
-e "s|@MAKE@|${MAKE_PROGRAM}|" ${FILESDIR}/host.def > \
${WRKSRC}/config/cf/host.def
+.if ${OPSYS} == "SunOS" && ${CC} == "gcc"
+ @${ECHO} "#define HasSunC NO" >> ${WRKSRC}/config/cf/host.def
+ @${ECHO} "#define HasGcc2 YES" >> ${WRKSRC}/config/cf/host.def
+.endif
cd ${WRKSRC} && ${MAKE_PROGRAM} Makefile.boot && \
${MAKE_PROGRAM} -f xmakefile VerifyOS version.def Makefiles includes
Now I'm having the same problem with xorg-libs. I tried adding the SunOS
test to the pre-install target, but after it failed trying to use GCC as
SunPro, I checked and ${WRKSRC}/config/cf/host.def does not have the lines
that should have been appended.
On Fri, 2005-06-24 at 09:57 +0200, Idar Tollefsen wrote:
maciejej@msoe.edu wrote:
> > The problem is that xorg-imake is looking for the the SunPro compiler
even
> > if I tell it to use GCC (PKGSRC_COMPILER=gcc, CC=gcc, etc.).
> > Interestingly, if it finds /opt/SUNWspro/bin, it tries to use that as the
> > compiler, even though that path is actually a directory. Otherwise it
> > tries to use GCC as SunPro and GCC chokes on the SunPro options.
>
>
> Take a look at pkg/30341
> (http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=30341) and
pkg/27267
> (http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=27267) and see
if they
> help.
>
>
> - IT
> --
Jake Maciejewski <maciejej@msoe.edu>