# $FreeBSD: head/devel/libpciaccess/Makefile 412346 2016-04-01 14:00:51Z mat $

PORTNAME=	libpciaccess
PORTVERSION=	0.13.4
CATEGORIES=	devel

MAINTAINER=	x11@FreeBSD.org
COMMENT=	Generic PCI access library

BUILD_DEPENDS=	${LOCALBASE}/share/pciids/pci.ids:misc/pciids
RUN_DEPENDS=	${LOCALBASE}/share/pciids/pci.ids:misc/pciids

CONFIGURE_ARGS+=	--with-pciids-path=${LOCALBASE}/share/pciids

XORG_CAT=	lib

AUTOTOOLS_HACK=	no

post-patch:
	@cd ${WRKSRC}/ ; touch -mr configure.orig configure
	@cd ${WRKSRC}/ ; touch -mr configure.ac.orig configure.ac
	@cd ${WRKSRC}/ ; touch -mr config.guess.orig config.guess
	@cd ${WRKSRC}/ ; touch -mr ltmain.sh.orig ltmain.sh

.include <bsd.port.mk>