pkgsrc/x11/libXrandr/Makefile
obache 21298a3c7a require randrproto>=1.4 to build, and packags not using builtin libXrandr
also require the version.

fixes a part of PR pkg/48532.
2014-02-05 09:42:33 +00:00

34 lines
865 B
Makefile

# $NetBSD: Makefile,v 1.16 2014/02/05 09:42:33 obache Exp $
DISTNAME= libXrandr-1.4.2
CATEGORIES= x11 devel
MASTER_SITES= ${MASTER_SITE_XORG:=lib/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= joerg@NetBSD.org
HOMEPAGE= http://xorg.freedesktop.org/
COMMENT= X RandR Library from X.org
CONFLICTS+= Xrandr-[0-9]*
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
USE_TOOLS+= pkg-config
CONFIGURE_ENV+= LIB_MAN_SUFFIX=3
PKGCONFIG_OVERRIDE+= xrandr.pc.in
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
CONFIGURE_ARGS+= --disable-malloc0returnsnull
.endif
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXrender/buildlink3.mk"
BUILDLINK_API_DEPENDS.randrproto+= randrproto>=1.4
.include "../../x11/randrproto/buildlink3.mk"
.include "../../x11/renderproto/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"