Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Feb 2014 10:15:52 +0100
From:      =?ISO-8859-1?Q?Ren=E9_Ladan?= <rene@freebsd.org>
To:        "ports@freebsd.org Ports" <ports@freebsd.org>
Subject:   should USES=kmod remove directories?
Message-ID:  <CADL2u4hbpKkuTT4yGVuLM6RBs5=2Q0krtiXfHQT=LAA3wK%2BmVA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

currently when you add USES=3Dkmod 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=E9



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADL2u4hbpKkuTT4yGVuLM6RBs5=2Q0krtiXfHQT=LAA3wK%2BmVA>