Pav Lucistnik pav at
Tue Nov 22 22:38:03 GMT 2005

Gerald Pfeifer píše v út 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.
> When a port has GNU_CONFIGURE set, and DATADIR is set, shouldn't
> the ports machinery automatically set the following as well?
>   CONFIGURE_ARGS+=--datadir=${DATADIR}
> That is, shouldn't we add something like
>   .if defined(GNU_CONFIGURE)
>   .if defined(DATADIR)
>   CONFIGURE_ARGS+=        --datadir=${DATADIR}
>   .endif
>   .endif
> to 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.

Pav Lucistnik <pav at>
              <pav at>

See file. Click file. Get file.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Toto je =?iso-8859-2?Q?digit=E1ln=EC?=
	=?ISO-8859-1?Q?_podepsan=E1?= =?iso-8859-2?Q?_=E8=E1st?=
Url :

More information about the freebsd-ports mailing list