summaryrefslogtreecommitdiff
path: root/x11/Xrender/Makefile
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2003-10-03 20:11:41 +0000
committerxtraeme <xtraeme@pkgsrc.org>2003-10-03 20:11:41 +0000
commit96359688a3f81101b064108c35a2857a2fe190da (patch)
tree7cd0fc9eebd846afb85230c0d3ce742493d7a377 /x11/Xrender/Makefile
parent8ecc105e86e9b03aca19c26bcb722b3a965ce317 (diff)
downloadpkgsrc-96359688a3f81101b064108c35a2857a2fe190da.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/Makefile')
-rw-r--r--x11/Xrender/Makefile10
1 files changed, 9 insertions, 1 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"