Date: Tue, 22 Nov 2005 23:30:36 +0100 (CET) From: Gerald Pfeifer <gerald@pfeifer.com> To: ports@freebsd.org Subject: GNU_CONFIGURE + DATADIR => CONFIGURE_ARGS+=--datadir=${DATADIR} ? Message-ID: <Pine.BSF.4.62.0511222322570.35318@pulcherrima.dbai.tuwien.ac.at>
next in thread | raw e-mail | index | archive | help
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@pfeifer.com http://www.pfeifer.com/gerald/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.62.0511222322570.35318>