DragonFly BSD
DragonFly commits List (threaded) for 2004-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/share/mk


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Wed, 17 Nov 2004 05:15:29 +0100

On 16.11.2004, at 21:09, Joerg Sonnenberger wrote:
Modified files:
share/mk bsd.port.mk
Log:
Override USE_GCC=3.4, we want to use our system compiler in that case.

Heh, just yesterday I did something like that myself:


+.if defined(USE_GCC)
+.if ${USE_GCC} == 2.95
+CCVER=         gcc2
+.makeenv       CCVER
+.undef         USE_GCC
+.elif ${USE_GCC} == 3.4
+CCVER=         gcc34
+.makeenv       CCVER
+.undef         USE_GCC
+.endif
+.endif
+

this will do the right thing[tm] for ports which require gcc 2.95 on systems that have gcc3 per default turned on

cheers
  simon

ps: i'd really like to see this CCVER env var to go away and to be replaced by varsyms, but not in the filesystem, more in objformat (reading the setting from varsym and not from environment)

--
/"\
\ /
 \     ASCII Ribbon Campaign
/ \  Against HTML Mail and News

Attachment: PGP.sig
Description: This is a digitally signed message part



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]