Date: Sun, 29 May 2016 23:08:43 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r416132 - head/Keywords Message-ID: <201605292308.u4TN8hu3076703@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Sun May 29 23:08:43 2016 New Revision: 416132 URL: https://svnweb.freebsd.org/changeset/ports/416132 Log: Make @kld PKG_ROOTDIR friendly Modified: head/Keywords/kld.ucl Modified: head/Keywords/kld.ucl ============================================================================== --- head/Keywords/kld.ucl Sun May 29 22:53:22 2016 (r416131) +++ head/Keywords/kld.ucl Sun May 29 23:08:43 2016 (r416132) @@ -8,17 +8,17 @@ post-install: <<EOD /*) kmoddir="%@" ;; *) kmoddir="%D/%@" ;; esac - /usr/sbin/kldxref ${kmoddir} + /usr/sbin/kldxref ${PKG_ROOTDIR}${kmoddir} EOD post-deinstall: <<EOD case "%@" in /*) kmoddir="%@" ;; *) kmoddir="%D/%@" ;; esac - /usr/sbin/kldxref ${kmoddir} + /usr/sbin/kldxref ${PKG_ROOTDIR}${kmoddir} case "${kmoddir}" in %D/*) ;; /boot/modules) ;; - *) rmdir -p ${kmoddir} 2>/dev/null || true ;; + *) rmdir -p ${PKG_ROOTDIR}${kmoddir} 2>/dev/null || true ;; esac EOD
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605292308.u4TN8hu3076703>