Subject: UN{BUILDLINK,WRAP}_FILES question
To: None <tech-pkg@netbsd.org>
From: Dan McMahill <dmcmahill@netbsd.org>
List: tech-pkg
Date: 09/08/2004 01:21:12
I'm trying to fix a problem with math/octave-current where we
need the path to the gcc3 toolchain to end up in /usr/pkg/mkoctfile.
In (my hacked) math/octave-current/Makefile I have
# Makes sure the correct compiler name gets into mkoctfile
CONFIGURE_ENV+= CC=${PKG_CC}
CONFIGURE_ENV+= CPP=${PKG_CPP}
CONFIGURE_ENV+= CXX=${PKG_CXX}
CONFIGURE_ENV+= FC=${PKG_FC}
CONFIGURE_ENV+= F77=${PKG_FC}
UNBUILDLINK_FILES+= mkoctfile octave-bug src/oct-conf.h
yet in the installed mkoctfile, I end up with lines like:
: ${CC="/usr/pkgsrc-current/math/octave-current/work/.gcc/bin/gcc"}
Is there something simple I'm doing wrong? Or maybe UNBUILDLINK_FILES
or UNWRAP_FILES doesn't deal with gcc.mk stuff?
Thanks
-Dan
--