View | Details | Raw Unified | Return to bug 173597 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-6 / +8 lines)
Lines 2-8 Link Here
2
# $FreeBSD: ports/multimedia/libva-intel-driver/Makefile,v 1.1 2012/10/25 21:06:38 madpilot Exp $
2
# $FreeBSD: ports/multimedia/libva-intel-driver/Makefile,v 1.1 2012/10/25 21:06:38 madpilot Exp $
3
3
4
PORTNAME=	libva-intel-driver
4
PORTNAME=	libva-intel-driver
5
PORTVERSION=	1.0.18
5
PORTVERSION=	1.0.19
6
CATEGORIES=	multimedia
6
CATEGORIES=	multimedia
7
MASTER_SITES=	http://www.freedesktop.org/software/vaapi/releases/${PORTNAME}/
7
MASTER_SITES=	http://www.freedesktop.org/software/vaapi/releases/${PORTNAME}/
8
8
Lines 18-25 Link Here
18
USE_GMAKE=	yes
18
USE_GMAKE=	yes
19
USE_BZIP2=	yes
19
USE_BZIP2=	yes
20
USE_GL=		gl
20
USE_GL=		gl
21
USE_AUTOTOOLS=	aclocal autoheader automake autoconf libtoolize
22
ACLOCAL_ARGS=	-I.
23
AUTOMAKE_ARGS=	--add-missing
21
USE_LDCONFIG=	yes
24
USE_LDCONFIG=	yes
22
GNU_CONFIGURE=	yes
23
25
24
CPPFLAGS+=	-isystem${LOCALBASE}/include
26
CPPFLAGS+=	-isystem${LOCALBASE}/include
25
LDFLAGS+=	-L${LOCALBASE}/lib
27
LDFLAGS+=	-L${LOCALBASE}/lib
Lines 32-40 Link Here
32
.endif
34
.endif
33
35
34
post-patch:     .SILENT
36
post-patch:     .SILENT
35
	${REINPLACE_CMD} -e '/LIBS/{ s/-ldl//; \
37
	${REINPLACE_CMD} -e 's/-ldl//' \
36
		s/-lrt//; s/-lpthread/${PTHREAD_LIBS}/; }' \
38
		${WRKSRC}/src/Makefile.am
37
		-e 's|driverdir|& --define-variable prefix=${PREFIX}|' \
39
	${REINPLACE_CMD} -e 's|driverdir|& --define-variable prefix=${PREFIX}|' \
38
		${WRKSRC}/configure
40
		${WRKSRC}/configure.ac
39
41
40
.include <bsd.port.mk>
42
.include <bsd.port.mk>

Return to bug 173597