From 43bc82858807882937465a8293098e3cad363e8d Mon Sep 17 00:00:00 2001 From: xtraeme Date: Fri, 9 Jul 2004 08:02:21 +0000 Subject: Under Linux, we must run ldconfig in post-install target, tested by Jeremy C. Reed and myself. --- x11/XFree86-libs/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'x11/XFree86-libs') diff --git a/x11/XFree86-libs/Makefile b/x11/XFree86-libs/Makefile index 82be9bdc82d..9df73a05500 100644 --- a/x11/XFree86-libs/Makefile +++ b/x11/XFree86-libs/Makefile @@ -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_FILES.mkstrs= config/cf/Library.tmpl 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" -- cgit v1.2.3