should USES=kmod remove directories?
René Ladan
rene at freebsd.org
Tue Feb 11 09:15:53 UTC 2014
Hi,
currently when you add USES=kmod to your (staged!) port it adds "rmdir
-p ${KMODDIR}" to the final pkg-plist (exccept when KMODDDIR is
/boot/kernel). This was originally intended to simplify ports using
kmod. However, for print/acroreadwrapper it causes errors on
de-installation [1] because it wants to remove ${PREFIX}/libexec
So what is best to do in this case?
- add ${PREFIX}/libexec as an exception, just like /boot/kernel
- do not remove KMODDIR at all and leave it up to the ports themselves
(this requires updating all kmod ports)
- something else
[1] https://qat.redports.org//~rene@FreeBSD.org/20140210233801-43823-275108/acroreadwrapper-0.0.20130208.log
Regards,
René
More information about the freebsd-ports
mailing list