pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/x11/xorg-cf-files



> What issues are you seeing specifically? Note that the imake rules are
> deep twisted maze of macros and some platforms like Linux were written
> under the assumption that gmake is used. I fixed those case I was aware
> of. I wouldn't be surprised if Solaris has similar cases.

IMHO this has nothing to do with Solaris, or the twistedness of imake,
it is purely a bmake/tradcpp problem. The Makefile generated with
tradcpp seems to contain whitespace bmake doesn't like, but gmake has
no problem with it. The result looks like this:

===> Creating toolchain wrappers for transfig-3.2.5dnb1
===> Configuring for transfig-3.2.5dnb1
mv -f Makefile Makefile.bak
imake -DUseInstalled -I/usr/pkgsrc/20130422/lib/X11/config
warning: could not parse version number in output of:
         cc  -V 2>&1
warning: could not parse version number in output of:
         /opt/SUNWspro/bin/cc  -V 2>&1
sh: CC: not found
warning: could not parse version number in output of:
         /opt/SUNWspro/bin/CC  -V 2>&1
Imakefile.c:8:9: Warning: non-identical redefinition of HasGcc2
<command-line>:8:1: Previous definition was here
make Makefiles
make: 
"/pkgsrc/source/pkgsrc/print/transfig/work.pkgsrc-i86/transfig.3.2.5d/Makefile"
line 140: Unassociated shell command "CXXEXTRA_DEFINES ="
make: 
"/pkgsrc/source/pkgsrc/print/transfig/work.pkgsrc-i86/transfig.3.2.5d/Makefile"
line 142: Unassociated shell command "CXXSTD_DEFINES = -DSVR4 -Di386
$(CXXPROJECT_DEFINES)"
make: 
"/pkgsrc/source/pkgsrc/print/transfig/work.pkgsrc-i86/transfig.3.2.5d/Makefile"
line 143: Unassociated shell command "CXXOPTIONS ="
make: 
"/pkgsrc/source/pkgsrc/print/transfig/work.pkgsrc-i86/transfig.3.2.5d/Makefile"
line 144: Unassociated shell command "CXXINCLUDES = $(INCLUDES)
$(TOP_INCLUDES) $(CXXEXTRA_INCLUDES)"
make: 
"/pkgsrc/source/pkgsrc/print/transfig/work.pkgsrc-i86/transfig.3.2.5d/Makefile"
line 145: Unassociated shell command "CXXDEFINES = $(CXXINCLUDES)
$(CXXSTD_DEFINES) $(THREADS_CXXDEFINES) $(DEFINES)
$(CXXEXTRA_DEFINES)"
make: 
"/pkgsrc/source/pkgsrc/print/transfig/work.pkgsrc-i86/transfig.3.2.5d/Makefile"
line 146: Unassociated shell command "CXXFLAGS = $(CXXDEBUGFLAGS)
$(CXXOPTIONS) $(THREADS_CXXFLAGS) $(CXXDEFINES)"

I have attached two Makefiles (from graphics/xv), one generated with
GCC cpp and one with tradcpp. The offending part (look for
CXXEXTRA_DEFINES) is defined in Imake.tmpl, i.e. is included from the
same file in both cases (i.e. it's not an svr4.cf sun.cf issue).

As I said: I'd be far more happy not to deal with a Makefile generated
by tradcpp at all, because the one generated with GCC cpp seems to be
compatible with any "make".

--
Joern Clausen
http://thebloeg.blogspot.com/
http://www.oe-files.de/photography/

Attachment: Makefile-i86
Description: Binary data

Attachment: Makefile-i86-20120822
Description: Binary data



Home | Main Index | Thread Index | Old Index