Date: Thu, 28 Mar 2013 07:54:16 -0500 From: Jeremy Messenger <mezz.freebsd@gmail.com> To: "Andrew W. Nosenko" <andrew.w.nosenko@gmail.com> Cc: gerald@pfeifer.com, mexas@bristol.ac.uk, freebsd-ports@freebsd.org, bdrewery@freebsd.org Subject: Re: is it a good idea to overwrite GCC_DEFAULT_VERSION= in Mk/bsd.gcc.mk? Message-ID: <CADLFttenGGkwRxL2Dkk9w9EDZvw7Tu-Dgw1aNw=Wdb8vO1Nxvg@mail.gmail.com> In-Reply-To: <CADLFttf=B56NafU7rvh2nt1pVvMN9-1gSF5iG4mLxa1iwfJinQ@mail.gmail.com> References: <CALa-7vw=e2GkfvReD4-eurUv%2BNaR6nJAT9cZ45tQVT6uac-n7Q@mail.gmail.com> <201303261050.r2QAo9v6041217@mech-cluster241.men.bris.ac.uk> <CALa-7vx_gHLiMJpZ3P_VgFHDpRof1Azzma3Afa0f8NtNarUi-Q@mail.gmail.com> <CADLFttcUBkj964auESWJEMx7%2BvnRRLPFO6LOwZcUHkTS=Vo0WQ@mail.gmail.com> <CALa-7vyQHGjzkdsPxvgV0q51z=YLdEtnXBR_u1fRo2bP_8FaSg@mail.gmail.com> <CADLFtteNg8BFBnMPD29Tij7Yt5n0TGR5ouXkEXfk2r_xVa7TxQ@mail.gmail.com> <CALa-7vyas_6Ygg5V-oM%2Bb4%2BhBZMhCS2qa0=Uv4%2B1brjTp6yOew@mail.gmail.com> <CADLFtteEt2M2xxW9bOU%2BC_YoTUcBCCqorZnfUDHE66%2BPS-BWjg@mail.gmail.com> <CALa-7vwcAVLHh63n_eq00rdA8mrwXpj5wqJ%2BYdrHV2wpXxUgWw@mail.gmail.com> <CADLFttf=B56NafU7rvh2nt1pVvMN9-1gSF5iG4mLxa1iwfJinQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
<snip>
>> @@ -238 +238 @@
>> -sys_lib_search_path_spec="/usr/lib "
>> +sys_lib_search_path_spec="/usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd8.0/4.7.3
>> /usr/local/x86_64-portbld-freebsd8.0/lib /usr/local/lib/gcc47 /lib
>> /usr/lib "
<snip>
Do you know if this part is need too? You can try to patch the CC and
other stuff by tweak in Mk/bsd.gnome.mk example on CC (untest):
------------------------------
ltverhack_PRE_PATCH= for file in gnome-ltmain.sh gnome-libtool; do \
if [ -f ${WRKDIR}/$$file ]; then \
${REINPLACE_CMD} -e \
'/freebsd-elf)/,/;;/ s|major="\.$$current"|${ltverhack_LIB_VERSION}|; \
/freebsd-elf)/,/;;/ s|versuffix="\.$$current"|versuffix="$$major"|;
/CC=/s|CC=.*|CC=${CC}|g' \
${WRKDIR}/$$file; \
fi; \
done
------------------------------
--
mezz.freebsd@gmail.com - mezz@FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLFttenGGkwRxL2Dkk9w9EDZvw7Tu-Dgw1aNw=Wdb8vO1Nxvg>
