summaryrefslogtreecommitdiff
path: root/x11/XFree86-libs/Makefile
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-07-09 08:02:21 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-07-09 08:02:21 +0000
commit4017ad78586492d777e3f8d1ff968d119de39f3a (patch)
tree884bd18639cab2d022706995e0869380a8c64d15 /x11/XFree86-libs/Makefile
parentc4cc25c00d7c24a059739feaebbc775eb37a9c10 (diff)
downloadpkgsrc-4017ad78586492d777e3f8d1ff968d119de39f3a.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/Makefile')
-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"