Subject: How to force compilation of a package with lang/gcc?
To: None <tech-pkg@netbsd.org>
From: Ingolf Steinbach <ingolf@steinba.ch>
List: tech-pkg
Date: 01/04/2003 11:49:27
Hi,

MESSAGE in lang/gcc informs to .include "/usr/pkg/etc/gcc-2.95.3.mk"
in the Makefile. For Makefiles in pkgsrc, this seems to be not suitable:
1) absolute path (without ${PREFIX})
2) ${PREFIX} cannot be used in the above .include as it is not yet known
   when used before bsd.pkg.mk
3) inclusion of gcc-2.95.3.mk *after* bsd.pkg.mk does not change CC
4) still a compile-time dependency on lang/gcc is needed.

What is the correct way to have a package compiled with lang/gcc?

Kind regards
    Ingolf