summaryrefslogtreecommitdiff
path: root/x11/XFree86-libs
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-07-09 08:02:21 +0000
committerxtraeme <xtraeme>2004-07-09 08:02:21 +0000
commitc218ab4183b74663a7a423b7116de4cd39dad5cd (patch)
tree884bd18639cab2d022706995e0869380a8c64d15 /x11/XFree86-libs
parentc207b4835364227eed74a382742c914ef7ac6f10 (diff)
downloadpkgsrc-c218ab4183b74663a7a423b7116de4cd39dad5cd.tar.gz
Under Linux, we must run ldconfig in post-install target, tested by
Jeremy C. Reed and myself.
Diffstat (limited to 'x11/XFree86-libs')
-rw-r--r--x11/XFree86-libs/Makefile7
1 files changed, 6 insertions, 1 deletions
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"