Maybe have "#COMPILER = base-clang ports-gcc" rather than "???"? Then it's just a case of uncommenting for the usual option.

--
Sent from a phone, apologies for poor formatting.

On 9 July 2018 15:39:42 Jeremie Courreges-Anglas <[email protected]> wrote:

It's not obvious where to add COMPILER in a port Makefile.  Since it
acts similar to MODULES I would put it just above (this is already what
I'm doing for most my non-clang-archs commits).  I didn't check the
whole tree for consistency but I don't think we need to.

ok?


Index: Makefile.template
===================================================================
RCS file: /d/cvs/ports/infrastructure/templates/Makefile.template,v
retrieving revision 1.77
diff -u -p -p -u -r1.77 Makefile.template
--- Makefile.template   9 Feb 2018 17:08:33 -0000       1.77
+++ Makefile.template   9 Jul 2018 14:34:37 -0000
@@ -98,6 +98,7 @@ MASTER_SITES =                ???

# Dependencies
#
+#COMPILER =            ???
#MODULES =              ???
#BUILD_DEPENDS =        ???
#RUN_DEPENDS =          ???


--
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



Reply via email to