613f398707
checking if xorg-macros used to generate configure is at least 1.3... configure: error: configure built with too old of a version of xorg-macros.m4 - requires version 1.2.0 or newer
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.8 2010/12/09 19:58:26 reed Exp $
|
|
#
|
|
|
|
DISTNAME= libpciaccess-0.11.0
|
|
CATEGORIES= sysutils x11
|
|
MASTER_SITES= ${MASTER_SITE_XORG:=lib/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= bjs@NetBSD.org
|
|
HOMEPAGE= http://xorg.freedesktop.org/
|
|
COMMENT= PCI access utility library from X.org
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
###
|
|
### XXX This list is probably not exhaustive.
|
|
###
|
|
ONLY_FOR_PLATFORM= FreeBSD-*-i386 NetBSD-*-i386 OpenBSD-*-i386
|
|
ONLY_FOR_PLATFORM+= FreeBSD-*-x86_64 NetBSD-*-x86_64 OpenBSD-*-x86_64
|
|
ONLY_FOR_PLATFORM+= DragonFly-*-i386 DragonFly-*-x86_64
|
|
ONLY_FOR_PLATFORM+= Linux-*-* SunOS-*-*
|
|
ONLY_FOR_PLATFORM+= NetBSD-*-sparc64
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= pkg-config
|
|
###
|
|
### XXX When our patches make it upstream, this will no longer be
|
|
### necessary.
|
|
###
|
|
USE_TOOLS+= autoconf automake autoreconf
|
|
|
|
CONFIGURE_ARGS+= --with-zlib
|
|
|
|
PKGCONFIG_OVERRIDE+= pciaccess.pc.in
|
|
|
|
BUILD_DEPENDS+= xorg-util-macros>=1.3:../../devel/xorg-util-macros
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC} && autoreconf -v -i -f
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|