svn commit: r331316 - head/multimedia/dv2sub

Tijl Coosemans tijl at FreeBSD.org
Tue Oct 22 20:22:47 UTC 2013


Author: tijl
Date: Tue Oct 22 20:22:46 2013
New Revision: 331316
URL: http://svnweb.freebsd.org/changeset/ports/331316

Log:
  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

Modified:
  head/multimedia/dv2sub/Makefile

Modified: head/multimedia/dv2sub/Makefile
==============================================================================
--- head/multimedia/dv2sub/Makefile	Tue Oct 22 20:17:09 2013	(r331315)
+++ head/multimedia/dv2sub/Makefile	Tue Oct 22 20:22:46 2013	(r331316)
@@ -3,20 +3,21 @@
 
 PORTNAME=	dv2sub
 PORTVERSION=	0.3
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	multimedia
 MASTER_SITES=	SF
 
 MAINTAINER=	oz at 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>


More information about the svn-ports-all mailing list