diff options
author | xtraeme <xtraeme> | 2003-10-03 20:11:41 +0000 |
---|---|---|
committer | xtraeme <xtraeme> | 2003-10-03 20:11:41 +0000 |
commit | f6693674a8c647949d9c6369b103c0fb48ce0ca5 (patch) | |
tree | 7cd0fc9eebd846afb85230c0d3ce742493d7a377 | |
parent | f6fe2d6794f035d6f368e1a987ff2fc2426457b7 (diff) | |
download | pkgsrc-f6693674a8c647949d9c6369b103c0fb48ce0ca5.tar.gz |
Fix installation on systems where libXrender.so.$(MAJOR_VERSION).$(MINOR_VERSION)
was not built (at least FreeBSD/Linux).
-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 |