ports/178837: [patch][bsd.pkgng.mk] ldconfig should be in added to _FORCE_POST_PATTERNS

Antoine Brodin antoine at freebsd.org
Wed May 22 17:20:02 UTC 2013


>Number:         178837
>Category:       ports
>Synopsis:       [patch][bsd.pkgng.mk] ldconfig should be in added to _FORCE_POST_PATTERNS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 22 17:20:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Antoine Brodin
>Release:        FreeBSD 9.1-RELEASE-p3 amd64
>Organization:
none
>Environment:
System: FreeBSD pepperseed.dreadbsd.org 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC 2013 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64


>Description:
Currently, pkgng packages have this in their +MANIFEST:
scripts:
  post-install: |
    /sbin/ldconfig -m /usr/local/lib
    cd /usr/local
    cd /usr/local
  pre-deinstall: |
    /sbin/ldconfig -R
    cd /usr/local
    cd /usr/local

ldconfig -R should be run post-deinstall.
>How-To-Repeat:
>Fix:


--- bsd.pkgng.mk.diff begins here ---
Index: Mk/bsd.pkgng.mk
===================================================================
--- Mk/bsd.pkgng.mk	(revision 318767)
+++ Mk/bsd.pkgng.mk	(working copy)
@@ -18,6 +18,7 @@
 PKGPOSTUPGRADE?=	${PKGDIR}/pkg-post-upgrade
 PKGUPGRADE?=		${PKGDIR}/pkg-upgrade
 _FORCE_POST_PATTERNS=	rmdir kldxref mkfontscale mkfontdir fc-cache \
+						ldconfig \
 						fonts.dir fonts.scale gtk-update-icon-cache \
 						gio-querymodules \
 						update-desktop-database update-mime-database \
--- bsd.pkgng.mk.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list