pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/Xrender Fix installation on systems where libXrend...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/87fabb22a4ac
branches:  trunk
changeset: 462485:87fabb22a4ac
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Fri Oct 03 20:11:41 2003 +0000

description:
Fix installation on systems where libXrender.so.$(MAJOR_VERSION).$(MINOR_VERSION)
was not built (at least FreeBSD/Linux).

diffstat:

 x11/Xrender/Makefile |  10 +++++++++-
 x11/Xrender/PLIST    |   4 ++--
 2 files changed, 11 insertions(+), 3 deletions(-)

diffs (38 lines):

diff -r fe2c29748e34 -r 87fabb22a4ac x11/Xrender/Makefile
--- a/x11/Xrender/Makefile      Fri Oct 03 19:40:55 2003 +0000
+++ b/x11/Xrender/Makefile      Fri Oct 03 20:11:41 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2003/09/22 21:55:57 recht Exp $
+# $NetBSD: Makefile,v 1.9 2003/10/03 20:11:41 xtraeme Exp $
 
 DISTNAME=      xrender-0.8.3
 PKGNAME=       Xrender-0.8.3
@@ -18,6 +18,14 @@
 GNU_CONFIGURE=         YES
 PKGCONFIG_OVERRIDE=    ${WRKSRC}/xrender.pc.in
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "Linux"
+PLIST_SUBST+=          LIBXRENDER="@comment "
+.else
+PLIST_SUBST+=          LIBXRENDER=""
+.endif
+
 .include "../../devel/pkgconfig/buildlink2.mk"
 .include "../../x11/render/buildlink2.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r fe2c29748e34 -r 87fabb22a4ac x11/Xrender/PLIST
--- a/x11/Xrender/PLIST Fri Oct 03 19:40:55 2003 +0000
+++ b/x11/Xrender/PLIST Fri Oct 03 20:11:41 2003 +0000
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.3 2003/09/19 17:22:14 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2003/10/03 20:11:41 xtraeme Exp $
 include/X11/extensions/Xrender.h
 lib/libXrender.a
 lib/libXrender.la
 lib/libXrender.so
 lib/libXrender.so.1
-lib/libXrender.so.1.2
+${LIBXRENDER}lib/libXrender.so.1.2
 lib/pkgconfig/xrender.pc



Home | Main Index | Thread Index | Old Index