Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Mar 2013 15:31:04 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r314091 - head/audio/dvda-author
Message-ID:  <201303131531.r2DFV4lt075032@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@zedat.fu-berlin.de
-#
+# Created by: dieringe@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303131531.r2DFV4lt075032>