aboutsummaryrefslogtreecommitdiff
path: root/multimedia/dv2sub
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2013-10-22 20:22:46 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2013-10-22 20:22:46 +0000
commit85b3baf24bab5ba7ff68b91ffb5b613c01ed6467 (patch)
tree592f623c15fb06b52fd83bbabb68006e1e3bdaaf /multimedia/dv2sub
parentd6de7bac6ffc6b81633dd5c09749e5ccb3ecede1 (diff)
downloadports-85b3baf24bab5ba7ff68b91ffb5b613c01ed6467.tar.gz
ports-85b3baf24bab5ba7ff68b91ffb5b613c01ed6467.zip
Change a configure test such that it no longer defines a nested function.
This fixes the build with clang. While here support staging. PR: ports/182893
Notes
Notes: svn path=/head/; revision=331316
Diffstat (limited to 'multimedia/dv2sub')
-rw-r--r--multimedia/dv2sub/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/multimedia/dv2sub/Makefile b/multimedia/dv2sub/Makefile
index 435bd9a1f750..865a5381fd50 100644
--- a/multimedia/dv2sub/Makefile
+++ b/multimedia/dv2sub/Makefile
@@ -3,20 +3,21 @@
PORTNAME= dv2sub
PORTVERSION= 0.3
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= multimedia
MASTER_SITES= SF
MAINTAINER= oz@nixil.net
COMMENT= Extracts info or subtitles from DV stream
-LIB_DEPENDS= dv.4:${PORTSDIR}/multimedia/libdv
+LIB_DEPENDS= libdv.so:${PORTSDIR}/multimedia/libdv
GNU_CONFIGURE= yes
USES= pkgconfig
-PLIST_FILES= bin/dv2sub
-MAN1= dv2sub.1
+PLIST_FILES= bin/dv2sub man/man1/dv2sub.1.gz
+
+post-patch:
+ @${REINPLACE_CMD} -e 's/void foo(void)//' ${WRKSRC}/configure
-NO_STAGE= yes
.include <bsd.port.mk>