how to recompile a port in a clean maneer?

Eric Devolder eric.devolder at
Wed Oct 5 07:44:16 PDT 2005

Hi there,

I'm newby to FreeBSD. I'm using FreeBSD 4.11-RELEASE #0 and here is my wish:
I would like to fetch the sources for an old port release ( I know I
can grab it from but I don't know how to fetch
the sources with freebsd command line tools),  change the makefile
and/or patch the source, recompile and possibly make a package (.tgz)
to be installed somewhere else.

My specific questions are:
* how to fetch the source code of a port? and especially from another release?
* how to unpack, change the makefile, compile?
* how to package it again?

I've gone through various manuals, without any success so far (at
least I've got cvsup installed, that's maybe a start...)


More information about the freebsd-questions mailing list