Date: Sun, 16 Mar 2008 17:09:27 +0200 From: Ion-Mihai Tetcu <itetcu@FreeBSD.org> To: "Scot Hetzel" <swhetzel@gmail.com> Cc: Peter Volkov <pva@gentoo.org>, freebsd-ports@freebsd.org Subject: Re: port old configure style. How to do changes permanent? Message-ID: <20080316170927.2d9a84dc@it.buh.tecnik93.com> In-Reply-To: <790a9fff0803160803x3c721b9ao8b6f355a866ed88d@mail.gmail.com> References: <1205677399.24804.180.camel@localhost> <790a9fff0803160803x3c721b9ao8b6f355a866ed88d@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/G.rV1.b1XUP/dQ684BS11fq Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 16 Mar 2008 10:03:37 -0500 "Scot Hetzel" <swhetzel@gmail.com> wrote: > On 3/16/08, Peter Volkov <pva@gentoo.org> wrote: > > Hello. > > > > I'm sorry if my question is too simple, but I've tried to google witho= ut > > any result. > > > > I need to install multimedia/ffmpeg with some custom configuration on > > FreeBSD 7.0. Some other ports are configure through `make config` but > > this one seems to have older configuration technology. I've read > > Makefile and seems that it's possible to build it with WITH_AMR_NB and > > other options. So seems if I run > > # make WITH_AMR_NB=3Dy > > I'll build ffmpeg with AMR support. But how to make this change > > permanent so next time I build updated version ffmpeg it'll builds with > > AMR support without requiring me to remember all WITH* options I've > > passed to make? Is it possible at all? > > > > Thank you for you help in advance, >=20 > There are several way to accomplish this: >=20 > 1. add it to /etc/make.conf > 2. install sysutils/portsconf and the variable to PREFIX/etc/ports.conf This two being more or less equivalent, the later being easier to use and keeps /etc/make.conf uncluttered. > 3. if you use a ports management tool, check its documentation to see > if it has a ports configuration file. If you go this way be warned that evidently the vars you set will only be applied when you use that tool. So if you change the tool or build the port manually you have to write them by hand again. Go with #2 --=20 IOnut - Un^d^dregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect" FreeBSD committer -> itetcu@FreeBSD.org, PGP Key ID 057E9F8B493A297B --Sig_/G.rV1.b1XUP/dQ684BS11fq Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (FreeBSD) iEYEARECAAYFAkfdOC4ACgkQBX6fi0k6KXuTSQCgvRpmJRhyoVxGN2GO9jkQ4k2j nhEAnikqvOkItHrFMtATEYxlMmPAOucH =0ZhH -----END PGP SIGNATURE----- --Sig_/G.rV1.b1XUP/dQ684BS11fq--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080316170927.2d9a84dc>