svn commit: r314091 - head/audio/dvda-author

Pawel Pekala pawel at FreeBSD.org
Wed Mar 13 15:31:04 UTC 2013


Author: pawel
Date: Wed Mar 13 15:31:03 2013
New Revision: 314091
URL: http://svnweb.freebsd.org/changeset/ports/314091

Log:
  - Respect CFLAGS
  - Fix build with clang
  - Convert to OptionsNG
  - Trim Makefile header
  
  PR:		ports/176766
  Submitted by:	myself
  Approved by:	Martin Dieringer <martin.dieringer at gmx.de> (maintainer)

Modified:
  head/audio/dvda-author/Makefile   (contents, props changed)

Modified: head/audio/dvda-author/Makefile
==============================================================================
--- head/audio/dvda-author/Makefile	Wed Mar 13 15:29:55 2013	(r314090)
+++ head/audio/dvda-author/Makefile	Wed Mar 13 15:31:03 2013	(r314091)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:   dvda-author
-# Date created:        9 October 2007
-# Whom:                dieringe at zedat.fu-berlin.de
-#
+# Created by: dieringe at zedat.fu-berlin.de
 # $FreeBSD$
-#
 
 PORTNAME=	dvda-author
 PORTVERSION=	09.05
@@ -34,8 +30,19 @@ GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-flac=${LOCALBASE}/lib/libFLAC.so \
 	--with-ogg=${LOCALBASE}/lib/libogg.so \
 	--enable-glibc
-.if defined(NOPORTDOCS)
+USE_CSTD=	gnu89
+
+.include <bsd.port.options.mk>
+
+.if ! ${PORT_OPTIONS:MDOCS}
 CONFIGURE_ARGS+=	--docdir=${WRKDIR}/doc
 .endif
 
+post-patch:
+	@${REINPLACE_CMD} 's|-std=c99||g' \
+		${WRKSRC}/configure \
+		${WRKSRC}/libats2wav/Makefile.in
+	@${REINPLACE_CMD} 's|-std=c99 -O3||' \
+		${WRKSRC}/fixwav/src/Makefile.in
+
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list