From d530b271d96cde879c3eb6ed8d1f6e86dee25919 Mon Sep 17 00:00:00 2001 From: Satoshi Asami Date: Sat, 24 Jun 1995 11:42:32 +0000 Subject: Add post-install: pkg_add -m ${PREFIX}/lib to Makefiles and @exec ldconfig -m %D to packing lists of ports that install shared libraries. This should get rid of a huge chunk of confusion for novice users! All hail Paul Kranenburg! :) --- x11/XFree86/Makefile | 5 ++++- x11/XFree86/pkg-plist | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'x11/XFree86') diff --git a/x11/XFree86/Makefile b/x11/XFree86/Makefile index b1e9ded46b9b..27e9f261fdba 100644 --- a/x11/XFree86/Makefile +++ b/x11/XFree86/Makefile @@ -3,7 +3,7 @@ # Date created: 5 January 1995 # Whom: jmz # -# $Id: Makefile,v 1.10 1995/05/17 13:07:13 jmz Exp $ +# $Id: Makefile,v 1.11 1995/06/17 01:29:06 jmz Exp $ # ####################################################################### @@ -86,4 +86,7 @@ do-install: @echo -n .endif +post-install: + ldconfig -m ${PREFIX}/lib + .include diff --git a/x11/XFree86/pkg-plist b/x11/XFree86/pkg-plist index a97cfc1e6247..6bee4af87ffc 100644 --- a/x11/XFree86/pkg-plist +++ b/x11/XFree86/pkg-plist @@ -374,6 +374,7 @@ lib/libXtst.so.6.0 lib/liblbxXext.a lib/liboldX.a lib/liboldX.so.6.0 +@exec ldconfig -m %B @mode 444 lib/X11/Cards lib/X11/XErrorDB -- cgit v1.2.3