diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2003-10-03 20:11:41 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2003-10-03 20:11:41 +0000 |
commit | 36755dee1e0096dbd235d95c4a493736f892be97 (patch) | |
tree | 7cd0fc9eebd846afb85230c0d3ce742493d7a377 /x11/Xrender | |
parent | 0d6500a6f9e1ef0ffb2b430ed425c385fe72e531 (diff) | |
download | pkgsrc-36755dee1e0096dbd235d95c4a493736f892be97.tar.gz |
Fix installation on systems where libXrender.so.$(MAJOR_VERSION).$(MINOR_VERSION)
was not built (at least FreeBSD/Linux).
Diffstat (limited to 'x11/Xrender')
-rw-r--r-- | x11/Xrender/Makefile | 10 | ||||
-rw-r--r-- | x11/Xrender/PLIST | 4 |
2 files changed, 11 insertions, 3 deletions
diff --git a/x11/Xrender/Makefile b/x11/Xrender/Makefile index 34f5cdddaba..916321d252d 100644 --- a/x11/Xrender/Makefile +++ b/x11/Xrender/Makefile @@ -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 @@ USE_X11= YES 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 --git a/x11/Xrender/PLIST b/x11/Xrender/PLIST index d511d888cb3..0c23c5eb882 100644 --- a/x11/Xrender/PLIST +++ b/x11/Xrender/PLIST @@ -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 |