aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libdvbpsi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/libdvbpsi/Makefile')
-rw-r--r--multimedia/libdvbpsi/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/multimedia/libdvbpsi/Makefile b/multimedia/libdvbpsi/Makefile
index 745b400292e1..2737f31f7f97 100644
--- a/multimedia/libdvbpsi/Makefile
+++ b/multimedia/libdvbpsi/Makefile
@@ -7,15 +7,22 @@
#
PORTNAME= libdvbpsi
-PORTVERSION= 0.1.2
+PORTVERSION= 0.1.3
CATEGORIES= multimedia
-MASTER_SITES= http://www.videolan.org/pub/videolan/libdvbpsi/${PORTVERSION}/
+MASTER_SITES= http://www.videolan.org/pub/videolan/libdvbpsi/%SUBDIR%/
+MASTER_SITE_SUBDIR= ${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A library for MPEG TS and DVB PSI tables decoding and generation
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-release
INSTALLS_SHLIB= yes
+post-patch:
+ @${REINPLACE_CMD} -e 's|-Wall|$${CFLAGS}|g ; \
+ s|-O6||g' ${WRKSRC}/configure
+
.include <bsd.port.mk>