Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jul 2009 11:45:30 -0500
From:      "Ishmael F.E." <sulfurfff@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: upgrading ports without recompiling
Message-ID:  <ed5c0bbe0907070945w34b0d4cagf300b2574145dc60@mail.gmail.com>
In-Reply-To: <4A52ED7F.5030904@kkip.pl>
References:  <ed5c0bbe0907060904m2a93aab7r9b17b8b5529dd8f0@mail.gmail.com> <4A523185.90007@smo.de> <alpine.BSF.2.00.0907062211190.95659@qvzrafvba.5c.ybpny> <4A52ED7F.5030904@kkip.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
portupgrade -aPP seems to have worked, thougth I got LOTS of warnings and
plenty of packages weren't upgraded to the latest version (like gstreamer*
which latest version seems to be 0.10.22 but I still have 0.10.20 as
dependency
for pidgin)
.
As for compiling, I think it's not worth unless the OS is being twicked
which is
not the case for me at this moment.
.
Tanks for your help
.
.
2009/7/7 Bartosz Stec

>  CmdLnKid pisze:
>
> On Mon, 6 Jul 2009 13:16 -0000, pj wrote:
>
> Ishmael F.E. wrote:
> [...]
>
> .
> so, =BFhow can I upgrade the ports?
> unfortunatley I don't have time to compile my 64bit system
>
>  You don't need to compile whole OS to compile ports, if this is what you
> had in mind.
>
>
> Have you looked at the -PP option of portupgrade?
> I don't know how portmaster handles upgrades using packages only.
>
>
> You could look into devel/ccache & devel/distcc if you would like to spee=
d
> up your compile times. Of course your first compile will always be the
> slowest one but everyone after that will be faster. This is not always
> advised as a good solution and has been known to throw some pretty weird
> compiler bugs and also fail while compiling certain ports but that is
> tweakable through /etc/make.conf*.
>
>  Well, I heard about some problems with ccache, although I personally
> experienced only one of them - fail when building world on AMD64. Here's =
my
> make.conf, feel free to give it try after installing ccache (Try to set
> MAKEOPTS =3D CPU cores +1, and set appropriate CPUTYPE):
>
> CPUTYPE=3Dathlon64
> MAKEOPTS=3D-j3
>
> # USE CCACHE
> .if !defined(NOCCACHE)
> CC=3D/usr/local/libexec/ccache/world-cc
> CXX=3D/usr/local/libexec/ccache/world-c++
> .endif
>
> # default build settings for ports collection
> .if ${.CURDIR:M*/ports/*}
> CFLAGS=3D -O2 -fno-strict-aliasing -pipe -funroll-loops -fomit-frame-poin=
ter
> CXXFLAGS=3D -O2 -fno-strict-aliasing -pipe -funroll-loops
> .endif
>
> # default build settings for base system
> .if ${.CURDIR:M*/usr/src/*} || ${.CURDIR:M*/usr/obj/*}
> CFLAGS=3D-O2 -fno-strict-aliasing -pipe
> COPTFLAGS=3D-O2 -fno-strict-aliasing -pipe
> CXXFLAGS=3D${CFLAGS}
> .endif
>
>  In case of any problem with specific port (or world) type in shell:
>
> # setenv NOCCACHE
>
> before build. This should give you maximum compile speed in case when
> package is unavailable while using portupgrade -afP
>
> --
> Bartosz Stec
>
>
>


--=20
[=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D]
[En muchos lugares, tomar fotos es visto como]
[una costumbre vil y reprensible                      ]
[=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ed5c0bbe0907070945w34b0d4cagf300b2574145dc60>