[Pkg-octave-devel] Bug#344995: Solution
Joaquim Ortega
joaquim.ortega at gmail.com
Thu Dec 29 09:02:31 UTC 2005
I believe that I have identified the bug. It is related to the new behaviour
of make documented as
* All pattern-specific variables that match a given target are now used
(previously only the first match was used).
What happens now is that in the file main/Makeconf.in and main/Makeconf.base
there is a pattern
%.o: %.cc ; $(MKOCTFILE) -c $<
that matches the cc files and overrules the corresponding pattern in the
Makefiles of the subdirectories (that pass some extra parameters for
instance). The file main/Makeconf is sourced from the Makefiles of the
directories. I suggest as a workaround to delete the offending line in
main/Makeconf.in and main/Makeconf.base. Moreover there are a couple of
Makefiles in two subdirectories, namely extra/linear-algebra and main/splines
where this line must be readded because they don't have one of their own, they
relied on the pattern from main/Makeconf that we just deleted. With this
three-line fix the package built fine.
Best regards,
Quim
More information about the Pkg-octave-devel
mailing list