Date: 06 Jul 2002 12:02:19 +0200 From: Jan Lentfer <Jan.Lentfer@web.de> To: freebsd-alpha@freebsd.org Subject: Patch against 4.6 bsd.port.mk Message-ID: <1025949740.2074.4.camel@jan-linnb.lan>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Hi all,
I made Terry's patch fit for 4.6-Release, the diff is attached. It works
as described by Terry. I succesfully build www/mmosaic with ccc by
adding "PREFER_COMPAQ_CC=yes" to the ports Makefile.
Jan
[-- Attachment #2 --]
145a146,149
> # PREFER_COMPAQ_CC - Set USE_COMPAQ_CC if it is installed,otherwise
> # use the default compiler instead.
> # USE_COMPAQ_CC - Says that the port requires the Compaq C compiler,
> # either in the system or installed from a port.
939a944,954
> .if exists(/usr/bin/ccc) && defined(PREFER_COMPAQ_CC)
> USE_COMPAQ_CC= yes
> .endif
> .if defined(USE_COMPAQ_CC) && (${MACHINE_ARCH} == "alpha")
> CC= ccc
> # CXX= ccc
> BUILD_DEPENDS+= ccc:${PORTSDIR}/lang/compaq-cc
> MAKE_ENV+= CC=${CC}
> # MAKE_ENV+= CXX=${CXX}
> .endif
>
943d957
<
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1025949740.2074.4.camel>
