Subject: pkg/14054: rxvt should allow configure options in mk.conf
To: None <firstname.lastname@example.org>
From: None <email@example.com>
Date: 09/24/2001 13:52:02
>Synopsis: pkgs should allow configure options in mk.conf
>Arrival-Date: Mon Sep 24 10:53:00 PDT 2001
>Originator: Root of all evil
System: NetBSD hrududu.wongs.net 1.5 NetBSD 1.5 (HRUDUDU) #8: Tue May 15 04:47:24 EDT 2001 firstname.lastname@example.org:/usr/src/sys/arch/i386/compile/HRUDUDU i386
Most pkgs don't allow options to be passed to the configure script
without editing the Makefile directly. Unfortunately, local changes to
the Makefile can be overwritten when the pkgsrc tree is updated.
It would be nice if all packages had something similar to the squid
pkg which allows a local site to put configuration options in
/etc/mk.conf and then has a line like this in its Makefile:
The particular itch I'm trying to scratch here is the rxvt pkg which
has many compile time switches that cannot be changed at run time.
Either change every single package (yuck), or perhaps make some clever
hackery in /usr/pkgsrc/mk/bsd.pkg.mk.
To fix this for just rxvt, add in /etc/mk.conf:
And in /usr/pkg/x11/rxvt/Makefile (after all the standard configure
args are set so that it can override them):