cvs commit: src/share/mk

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Tue Nov 16 20:16:20 PST 2004


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00000.pgp
Type: application/octet-stream
Size: 186 bytes
Desc: "Description: This is a digitally signed message part"
URL: <http://lists.dragonflybsd.org/pipermail/commits/attachments/20041116/fb7a4327/attachment-0022.obj>


More information about the Commits mailing list