pkgsrc-WIP-discuss archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Avoiding automatic installation of configuration files



Hugo Rivera wrote:
> hi:
> I'm trying to port the fish shell into pkgsrc-wip.
> Everything is ok except that fish installs its
> configuration files automatically under ${PREFIX}/etc,
> I know I have to patch it to avoid this behavior, but
> I don't know exactly how. The package uses the gnu
> configuration script and gmake for building, should I
> fix the configure script or there's a better (easy)
> way?

The usual way is to set INSTALL_MAKE_FLAGS in the package Makefile:

INSTALL_MAKE_FLAGS+=   ${MAKE_FLAGS} sysconfdir=${EGDIR:Q}

The ${MAKE_FLAGS} in front of the sysconfdir is only due to a misdesign 
in pkgsrc. Don't worry about that. :)

Roland

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
pkgsrc-wip-discuss mailing list
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss



Home | Main Index | Thread Index | Old Index