Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Nov 2005 23:37:32 +0100
From:      Pav Lucistnik <pav@FreeBSD.org>
To:        Gerald Pfeifer <gerald@pfeifer.com>
Cc:        ports@FreeBSD.org
Subject:   Re: GNU_CONFIGURE + DATADIR => CONFIGURE_ARGS+=--datadir=${DATADIR} ?
Message-ID:  <1132699053.47320.10.camel@localhost>
In-Reply-To: <Pine.BSF.4.62.0511222322570.35318@pulcherrima.dbai.tuwien.ac.at>
References:  <Pine.BSF.4.62.0511222322570.35318@pulcherrima.dbai.tuwien.ac.at>

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

--=-WCm42/1fe5Yzd02mSq1b
Content-Type: text/plain; charset=ISO-8859-2
Content-Transfer-Encoding: quoted-printable

Gerald Pfeifer p=ED=B9e v =FAt 22. 11. 2005 v 23:30 +0100:
> I just introduced the use of %%DATADIR%% to the pkg-plist of one
> of my ports, only to learn that it doesn't work as I had expected.
>=20
> When a port has GNU_CONFIGURE set, and DATADIR is set, shouldn't
> the ports machinery automatically set the following as well?
>=20
>   CONFIGURE_ARGS+=3D--datadir=3D${DATADIR}
>=20
>=20
> That is, shouldn't we add something like
>=20
>   .if defined(GNU_CONFIGURE)
>   .if defined(DATADIR)
>   CONFIGURE_ARGS+=3D        --datadir=3D${DATADIR}
>   .endif
>   .endif
>=20
> to Mk/bsd.ports.mk?

No! That would break lot of things, I'm afraid.

I think you should not be using %%DATADIR%% in your plist.
Portlint is getting very overzealous with this message, often.

--=20
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>

See file. Click file. Get file.

--=-WCm42/1fe5Yzd02mSq1b
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Toto je =?iso-8859-2?Q?digit=E1ln=EC?=
	=?ISO-8859-1?Q?_podepsan=E1?= =?iso-8859-2?Q?_=E8=E1st?=
	=?ISO-8859-1?Q?_zpr=E1vy?=

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

iD8DBQBDg52sntdYP8FOsoIRAuTlAJ4oA2h09w5qAYhM5MtmwFq/aiAMsACggIo/
at4zf6Z9IdSLDvfC6bHJZYk=
=Yec4
-----END PGP SIGNATURE-----

--=-WCm42/1fe5Yzd02mSq1b--



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