GNU_CONFIGURE + DATADIR => CONFIGURE_ARGS+=--datadir=${DATADIR} ?
Gerald Pfeifer
gerald at pfeifer.com
Tue Nov 22 22:30:43 GMT 2005
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/bsd.ports.mk?
Gerald
--
Gerald (Jerry) Pfeifer gerald at pfeifer.com http://www.pfeifer.com/gerald/
More information about the freebsd-ports
mailing list