summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Yao <ryao@gentoo.org>2012-06-14 15:45:33 +0000
committerRichard Yao <ryao@gentoo.org>2012-06-14 15:45:33 +0000
commitf30e8b567d16d4dd84ba7d54e87606467c1d5831 (patch)
tree56341dde4e2db0289523ad7af60ee0efa0557176 /sys-freebsd/virtio-kmod
parentx11-libs/libPropList rename to x11-libs/libproplist (diff)
downloadgentoo-2-f30e8b567d16d4dd84ba7d54e87606467c1d5831.tar.gz
gentoo-2-f30e8b567d16d4dd84ba7d54e87606467c1d5831.tar.bz2
gentoo-2-f30e8b567d16d4dd84ba7d54e87606467c1d5831.zip
Add missing pkg_postrm() function
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'sys-freebsd/virtio-kmod')
-rw-r--r--sys-freebsd/virtio-kmod/ChangeLog8
-rw-r--r--sys-freebsd/virtio-kmod/virtio-kmod-0.228301-r1.ebuild (renamed from sys-freebsd/virtio-kmod/virtio-kmod-0.228301.ebuild)7
2 files changed, 13 insertions, 2 deletions
diff --git a/sys-freebsd/virtio-kmod/ChangeLog b/sys-freebsd/virtio-kmod/ChangeLog
index 2cf7e477515d..56a2f9139dd7 100644
--- a/sys-freebsd/virtio-kmod/ChangeLog
+++ b/sys-freebsd/virtio-kmod/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-freebsd/virtio-kmod
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/virtio-kmod/ChangeLog,v 1.1 2012/05/19 20:47:29 ryao Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/virtio-kmod/ChangeLog,v 1.2 2012/06/14 15:45:33 ryao Exp $
+
+*virtio-kmod-0.228301-r1 (14 Jun 2012)
+
+ 14 Jun 2012; Richard Yao <ryao@gentoo.org> +virtio-kmod-0.228301-r1.ebuild,
+ -virtio-kmod-0.228301.ebuild:
+ Add missing pkg_postrm() function
*virtio-kmod-0.228301 (19 May 2012)
diff --git a/sys-freebsd/virtio-kmod/virtio-kmod-0.228301.ebuild b/sys-freebsd/virtio-kmod/virtio-kmod-0.228301-r1.ebuild
index 5c0bf71aa072..f9468c4fdeea 100644
--- a/sys-freebsd/virtio-kmod/virtio-kmod-0.228301.ebuild
+++ b/sys-freebsd/virtio-kmod/virtio-kmod-0.228301-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/virtio-kmod/virtio-kmod-0.228301.ebuild,v 1.1 2012/05/19 20:47:29 ryao Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/virtio-kmod/virtio-kmod-0.228301-r1.ebuild,v 1.1 2012/06/14 15:45:32 ryao Exp $
EAPI=4
@@ -63,3 +63,8 @@ pkg_postinst() {
# Print message from FreeBSD Ports
elog "$(cat "${FILESDIR}/pkg-message")"
}
+
+pkg_postrm() {
+ # Update linker.hints file
+ /usr/sbin/kldxref "${EPREFIX}/boot/modules"
+}