On Sun, 13 Aug 2006 16:35:11 +0200
"[LoN]Kamikaze" <[EMAIL PROTECTED]> wrote:

> 
> Randy Pratt wrote:
> > On Sun, 13 Aug 2006 13:33:19 +0200
> > Rene Ladan <[EMAIL PROTECTED]> wrote:
> > 
> >> Kiffin Gish schreef:
> >>> On Sun, 2006-08-13 at 13:08 +0200, [LoN]Kamikaze wrote:
> >>>> Kiffin Gish wrote:
> >>>>> How can prevent a given package from being reinstalled during the next
> >>>>> portupgrade when I want to delete permanently?
> >>>>>
> >>>>> An example is the Galeon browser. Since it also appears in the
> >>>>> gnome2-fifth-toe makefile t will automatically be rebuilt.
> >>>>>
> >>>>> 2nd question: how can I just keep a given version without having it
> >>>>> upgraded?
> >>>>>
> >>>>> Thanks alot in advance.
> >>>>>
> >>>> .if ${.CURDIR:M/usr/ports/category/port}
> >>>> IGNORE=  not wanted
> >>>> .endif
> >>>>
> >>>> This will keep the ports system from building them. But you will have to
> >>>> edit dependant ports Makefiles. I'm doing that for arts and have to edit
> >>>> the kdelibs Makefile every time kdelibs gets updated.
> >>> The only problem with that approach is that every time I run cvsup the
> >>> modified makefiles are overwritten.
> >>>
> >>> Can also just delete the dependencies line containing galeon for
> >>> example, but overwritten by next cvsup.
> >>>
> >> You can also try portsnap, which only overwrites ports which have been
> >> changed by a commit.
> > 
> > I'm not sure that is true for portsnap under all conditions.  From
> > the portsnap man page:
> > 
> >   extract   Extract a ports tree, replacing existing files and
> >             directories.  NOTE: This will remove anything occupying
> >             the location where files or directories are being
> >             extracted; in particular, any changes made locally to
> >             ports tree (for example, adding new patches) will be
> >             silently obliterated.
> > 
> 
> You forget that extract is only called for the first time portsnap is used.
> Afterwards you use 'portsnap fetch update', which has the desired behaviour.

Actually, I didn't forget.  I was pointing out that portsnap will
remove any local patches/modifications in an existing ports tree when
extract is used.  I think we both agree on this.

Randy
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to