diff options
author | gdt <gdt@pkgsrc.org> | 2017-12-31 16:39:41 +0000 |
---|---|---|
committer | gdt <gdt@pkgsrc.org> | 2017-12-31 16:39:41 +0000 |
commit | 3ccd05ef9d38e9ba3657a52b07079d2a8fbc26ca (patch) | |
tree | ecbb66cde3315cc67f72bd8b17f643119cc340e8 /devel/gnustep-make | |
parent | 1c872d670cfef3acf11a7e43eb21c7c8115fe9e8 (diff) | |
download | pkgsrc-3ccd05ef9d38e9ba3657a52b07079d2a8fbc26ca.tar.gz |
gnustep-make: Add comments about compiler selection
This package overrides the user-settable variable PKGSRC_COMPILER,
which is irregular. Add comments/\todos explaining this.
(This is a comment-only change.)
Diffstat (limited to 'devel/gnustep-make')
-rw-r--r-- | devel/gnustep-make/gnustep.mk | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/devel/gnustep-make/gnustep.mk b/devel/gnustep-make/gnustep.mk index 8a3b9c1ee62..0868e6193e3 100644 --- a/devel/gnustep-make/gnustep.mk +++ b/devel/gnustep-make/gnustep.mk @@ -1,4 +1,4 @@ -# $NetBSD: gnustep.mk,v 1.25 2015/03/04 16:51:57 tnn Exp $ +# $NetBSD: gnustep.mk,v 1.26 2017/12/31 16:39:41 gdt Exp $ .if !defined(GNUSTEP_MK) GNUSTEP_MK= #defined @@ -9,8 +9,19 @@ PKG_SUPPORTED_OPTIONS+= fragile .include "../../mk/bsd.options.mk" .if empty(PKG_OPTIONS:Mfragile) +# It is necessary to use clang to build gnustep packages. +# PKGSRC_COMPILER is a user-settable variable and may not be set by +# packages, but there is not a package-settable way to force a +# different compiler. For now, abuse it, realizing that this will +# also drop any ccache or distcc set by the user. +# \todo Stop abusing PKGSRC_COMPILER. PKGSRC_COMPILER= clang + +# \todo Explain. ONLY_FOR_COMPILER= clang + +# \todo Explain. Is this about forcing clang as the compiler, or +# about using libraries in the clang package, or ? BUILDLINK_API_DEPENDS.clang+= clang>=3.1 DEPENDS+= clang-[0-9]*:../../lang/clang .endif |