aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/libva/Makefile
diff options
context:
space:
mode:
authormadpilot <madpilot@FreeBSD.org>2014-09-18 22:40:54 +0800
committermadpilot <madpilot@FreeBSD.org>2014-09-18 22:40:54 +0800
commitbe372fce47422a8a9fa95361c83813220b6879ea (patch)
treeb81f0579ff62bb562874b47e5e6cd8a5523bf9cb /multimedia/libva/Makefile
parent3e36ef2b947abb6690b0a8b75cfc84bd47133e23 (diff)
downloadfreebsd-ports-gnome-be372fce47422a8a9fa95361c83813220b6879ea.tar.gz
freebsd-ports-gnome-be372fce47422a8a9fa95361c83813220b6879ea.tar.zst
freebsd-ports-gnome-be372fce47422a8a9fa95361c83813220b6879ea.zip
- Convert to USES autoreconf
- Drop .la files - Remove hacks
Diffstat (limited to 'multimedia/libva/Makefile')
-rw-r--r--multimedia/libva/Makefile18
1 files changed, 4 insertions, 14 deletions
diff --git a/multimedia/libva/Makefile b/multimedia/libva/Makefile
index 72fae12ad981..a7d4256cf1e3 100644
--- a/multimedia/libva/Makefile
+++ b/multimedia/libva/Makefile
@@ -2,7 +2,7 @@
PORTNAME= libva
PORTVERSION= 1.3.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= multimedia
MASTER_SITES= http://cgit.freedesktop.org/${PORTNAME}/snapshot/
@@ -15,12 +15,10 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:${PORTSDIR}/multimedia/v4l_compat
LIB_DEPENDS= libdrm.so:${PORTSDIR}/graphics/libdrm
-USES= libtool:keepla pkgconfig tar:bzip2
+USES= autoreconf libtool pkgconfig tar:bzip2
USE_XORG= glproto pciaccess xext xfixes
USE_GL= gl
-USE_AUTOTOOLS= aclocal autoheader automake autoconf libtoolize
-ACLOCAL_ARGS= -I.
-AUTOMAKE_ARGS= --add-missing
+HAS_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=va
USE_LDCONFIG= yes
@@ -51,10 +49,7 @@ INSTALL_TARGET= install-strip
post-patch: .SILENT
${REINPLACE_CMD} -e 's|\($$libdir\)/dri|\1/va|' \
- -e 's|$${libdir}/\(pkgconfig\)|$${prefix}/libdata/\1|' \
- -e 's/\(LIBVA_LT_CURRENT\)=libva_lt_current/\1=1/' \
- -e 's/\(LIBVA_LT_REV\)=libva_lt_revision/\1=3301/' \
- -e 's/\(LIBVA_LT_AGE\)=libva_lt_age/\1=0/' \
+ -e 's|$${libdir}/\(pkgconfig\)|${PREFIX}/libdata/\1|' \
${WRKSRC}/configure.ac
${REINPLACE_CMD} -e 's/va\(info\)/\1/g' -e 's/info\.c/vainfo\.c/' \
${WRKSRC}/test/vainfo/Makefile.am
@@ -62,11 +57,6 @@ post-patch: .SILENT
${WRKSRC}/doc/Makefile.am
${REINPLACE_CMD} 's/-ldl//' ${WRKSRC}/va/Makefile.am
-# XXX: work around an issue with automake-1.13 erroring out on a
-# non-existent m4 directory before libtoolize creates it
-pre-configure::
- @${MKDIR} ${WRKSRC}/m4
-
post-configure: .SILENT
${REINPLACE_CMD} 's/-lpthread/${PTHREAD_LIBS}/' \
${WRKSRC}/test/putsurface/Makefile