pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/XFree86-libs Under Linux, we must run ldconfig in ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8c4588b81452
branches:  trunk
changeset: 477783:8c4588b81452
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Fri Jul 09 08:02:21 2004 +0000

description:
Under Linux, we must run ldconfig in post-install target, tested by
Jeremy C. Reed and myself.

diffstat:

 x11/XFree86-libs/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 23b71ecad7c4 -r 8c4588b81452 x11/XFree86-libs/Makefile
--- a/x11/XFree86-libs/Makefile Fri Jul 09 00:21:56 2004 +0000
+++ b/x11/XFree86-libs/Makefile Fri Jul 09 08:02:21 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2004/05/07 15:25:14 cjep Exp $
+# $NetBSD: Makefile,v 1.11 2004/07/09 08:02:21 xtraeme Exp $
 
 DISTNAME=              ${DISTFILES}
 PKGNAME=               XFree86-libs-${XF_VER}
@@ -42,6 +42,11 @@
 SUBST_SED.mkstrs=      -e 's,@MAKESTRS@,${X11ROOT}/bin/makestrs,g'
 SUBST_MESSAGE.mkstrs=  "Fixing path of makestrs."
 
+.if ${OPSYS} == "Linux"
+post-install:
+       @${LDCONFIG} ${X11ROOT}/lib
+.endif
+
 .include "../../fonts/fontconfig/buildlink3.mk"
 .include "../../graphics/freetype2/buildlink3.mk"
 .include "../../textproc/expat/buildlink3.mk"



Home | Main Index | Thread Index | Old Index