[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: correction: x11/pekwm
On Fri, Aug 22, 2003 at 07:36:59PM -0400, Francois Briere wrote:
> > look in your bsd.port.mk as default:
> > SYSCONFDIR?= /etc ... i think in _normaly_ they use ${PREFIX}share
>
> Grr, SYSCONFDIR.
> Thanks Jolan, Han.
The problem here is building off of a faulty port.
The port uses CONFIGURE_STYLE=simple when it should be using
CONFIGURE_STYLE=gnu.
CONFIGURE_STYLE=gnu does --prefix='${PREFIX}' --sysconfdir='${SYSCONFDIR}'
for you. Where ${PREFIX} and ${SYSCONFDIR} are set by bsd.port.mk, if
not set in /etc/mk.conf.
CONFIGURE_STYLE=simple leaves you to your own devices, specifying no
arguments at all, which is why the in-tree port has
CONFIGURE_ARGS+=--prefix=${LOCALBASE}.
Now, making that change doesn't fix everything.
It will still install files to ${SYSCONFDIR}/pekwm in the fake directory,
which is not where you want them to go.
The files need to go into ${PREFIX}/share/examples/pekwm, and then be
handled by the DEINSTALL/INSTALL scripts. When doing this, make sure to
take advantage of the recent 'extra' handling.
IMHO, the best way to handle this is to modify data/Makefile.in.