pkgsrc/x11/Xfixes/Makefile
2017-09-06 09:02:59 +00:00

32 lines
770 B
Makefile

# $NetBSD: Makefile,v 1.31 2017/09/06 09:03:05 wiz Exp $
DISTNAME= libXfixes-2.0.1
PKGNAME= ${DISTNAME:S/libX/X/}
PKGREVISION= 5
CATEGORIES= x11 devel
MASTER_SITES= https://xlibs.freedesktop.org/release/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://freedesktop.org/
COMMENT= X Fixes extension of X RandR
CONFLICTS+= libXfixes-[0-9]*
USE_TOOLS+= pkg-config
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
PKGCONFIG_OVERRIDE+= xfixes.pc.in
.include "../../mk/bsd.prefs.mk"
.if ${X11_TYPE} != "native"
PKG_FAIL_REASON+="This package is for native X11 only; use libXfixes instead."
.endif
CFLAGS.Darwin+= -fno-common
.include "../../x11/fixesproto4/buildlink3.mk"
.include "../../mk/x11.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"