Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 May 2006 16:31:21 +0200
From:      Ulrich Spoerlein <uspoerlein@gmail.com>
To:        Florent Thoumie <flz@xbsd.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: ports structure and improvement suggestions
Message-ID:  <20060509143121.GC2068@roadrunner.aventurien.local>
In-Reply-To: <1147183253.4810.38.camel@mayday.esat.net>
References:  <20060508200926.GA6005@daemons.gr> <20060509061026.GA14039@pentarou.parodius.com> <20060509111435.GA1228@roadrunner.aventurien.local> <1147183253.4810.38.camel@mayday.esat.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--tMbDGjvJuJijemkf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Florent Thoumie wrote:
> On Tue, 2006-05-09 at 13:14 +0200, Ulrich Spoerlein wrote:
> > .if ${.CURDIR:M*/audio/amarok}
> > WITH_XINE=3D      true
> > #...
> > .endif
>=20
> I think you guys aren't lazy enough.
>=20
> - Put http://people.freebsd.org/~flz/local/mkconf somewhere in ${PATH}.
> - Add the following to /etc/make.conf:
>=20
> =3D=3D=3D snip =3D=3D=3D
> .if ${.CURDIR:N/usr/ports/*}=3D=3D""
> _MKCONF!=3Dmkconf
> .for i in ${_MKCONF}
> ${i}
> .endfor
> .endif
> =3D=3D=3D snip =3D=3D=3D
>=20
> - Create a /etc/ports.conf file with lines like:
> www/apache20: WITH_FOO=3Dyes WITH_BAR=3Dno


Ach, you gotta love those evil twisted .for-loops in make. Who came up
with the unroll-first-parse-later strategy?

Ulrich Spoerlein
--=20
 PGP Key ID: 20FEE9DD				Encrypted mail welcome!
Fingerprint: AEC9 AF5E 01AC 4EE1 8F70  6CBD E76E 2227 20FE E9DD
Which is worse: ignorance or apathy?
Don't know. Don't care.

--tMbDGjvJuJijemkf
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQFEYKe5524iJyD+6d0RAgEFAJ0d5YUoR6R9JDzx6daEAJ28fpryLwCeO5TU
L1LKXPQCjiNjZQsCr/8mbvw=
=scon
-----END PGP SIGNATURE-----

--tMbDGjvJuJijemkf--



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