Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 May 2013 16:56:33 GMT
From:      Antoine Brodin <antoine@freebsd.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/178837: [patch][bsd.pkgng.mk] ldconfig should be in added to _FORCE_POST_PATTERNS
Message-ID:  <201305221656.r4MGuX7U083401@pepperseed.dreadbsd.org>
Resent-Message-ID: <201305221720.r4MHK1Yv044329@freefall.freebsd.org>

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

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305221656.r4MGuX7U083401>