From owner-svn-ports-head@FreeBSD.ORG Mon Sep 3 23:16:07 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CBBE106564A; Mon, 3 Sep 2012 23:16:07 +0000 (UTC) (envelope-from avilla@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 3D4608FC0C; Mon, 3 Sep 2012 23:16:07 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q83NG7pA058508; Mon, 3 Sep 2012 23:16:07 GMT (envelope-from avilla@svn.freebsd.org) Received: (from avilla@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q83NG7AK058503; Mon, 3 Sep 2012 23:16:07 GMT (envelope-from avilla@svn.freebsd.org) Message-Id: <201209032316.q83NG7AK058503@svn.freebsd.org> From: Alberto Villa Date: Mon, 3 Sep 2012 23:16:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r303629 - in head/multimedia/mlt: . files X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2012 23:16:07 -0000 Author: avilla Date: Mon Sep 3 23:16:06 2012 New Revision: 303629 URL: http://svn.freebsd.org/changeset/ports/303629 Log: - Fix build when FreeBSD was build with WITHOUT_GCC=yes. PR: 171294 Submitted by: Christian Mangin - Stop installing standard license files. - Cleanup Makefile. Suggested by: danfe Added: head/multimedia/mlt/files/patch-src__framework__configure (contents, props changed) head/multimedia/mlt/files/patch-src__modules__avformat__configure (contents, props changed) head/multimedia/mlt/files/patch-src__modules__frei0r__configure (contents, props changed) Modified: head/multimedia/mlt/Makefile Modified: head/multimedia/mlt/Makefile ============================================================================== --- head/multimedia/mlt/Makefile Mon Sep 3 22:57:42 2012 (r303628) +++ head/multimedia/mlt/Makefile Mon Sep 3 23:16:06 2012 (r303629) @@ -10,11 +10,8 @@ COMMENT= Multimedia framework for TV bro LICENSE= GPLv2 GPLv3 LGPL21 LICENSE_COMB= multi -LICENSE_FILE_GPLv2= ${WRKSRC}/GPL -LICENSE_FILE_GPLv3= ${WRKSRC}/GPLv3 -LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING -LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg +LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg # They both install bin/melt. CONFLICTS_INSTALL= freeze-[0-9]* @@ -68,8 +65,7 @@ PLIST_SUB+= DV="@comment " .if ${PORT_OPTIONS:MFFMPEG} || ${PORT_OPTIONS:MVDPAU} LIB_DEPENDS+= avformat:${PORTSDIR}/multimedia/ffmpeg -CONFIGURE_ARGS+= --enable-avformat \ - --avformat-swscale +CONFIGURE_ARGS+= --enable-avformat --avformat-swscale PLIST_SUB+= FFMPEG="" .else CONFIGURE_ARGS+= --disable-avformat @@ -171,18 +167,18 @@ PLIST_SUB+= VORBIS="@comment " .endif pre-configure: - ${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \ + ${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},' \ ${WRKSRC}/src/modules/avformat/vdpau.c \ ${WRKSRC}/src/modules/frei0r/factory.c \ ${WRKSRC}/src/modules/jackrack/plugin_mgr.c \ ${WRKSRC}/src/modules/linsys/Makefile - ${REINPLACE_CMD} -e 's,-pthread,${PTHREAD_LIBS},g' \ + ${REINPLACE_CMD} -e 's,-pthread,${PTHREAD_LIBS},' \ ${WRKSRC}/configure - ${REINPLACE_CMD} -e 's,-lpthread,${PTHREAD_LIBS},g' \ + ${REINPLACE_CMD} -e 's,-lpthread,${PTHREAD_LIBS},' \ ${WRKSRC}/src/framework/Makefile \ ${WRKSRC}/src/melt/Makefile \ ${WRKSRC}/src/modules/*/Makefile - ${REINPLACE_CMD} -e 's,$$(libdir)/pkgconfig,${PREFIX}/libdata/pkgconfig,g' \ + ${REINPLACE_CMD} -e 's,$$(libdir)/pkgconfig,${PREFIX}/libdata/pkgconfig,' \ ${WRKSRC}/Makefile post-install: Added: head/multimedia/mlt/files/patch-src__framework__configure ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/mlt/files/patch-src__framework__configure Mon Sep 3 23:16:06 2012 (r303629) @@ -0,0 +1,11 @@ +--- ./src/framework/configure.orig 2012-09-04 00:19:55.916055280 +0200 ++++ ./src/framework/configure 2012-09-04 00:42:27.466054331 +0200 +@@ -4,7 +4,7 @@ + echo > config.mak + if [ "$(uname -s)" = "FreeBSD" ] + then +- printf "#include \n int main(){ return 0;}" | gcc -c -x c - >/dev/null 2>&1 ++ printf "#include \n int main(){ return 0;}" | $CC -c -x c - >/dev/null 2>&1 + [ "$?" -eq 0 ] && echo "HAVE_SYS_PARAM_H=1" >> config.mak + fi + exit 0 Added: head/multimedia/mlt/files/patch-src__modules__avformat__configure ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/mlt/files/patch-src__modules__avformat__configure Mon Sep 3 23:16:06 2012 (r303629) @@ -0,0 +1,20 @@ +--- ./src/modules/avformat/configure.orig 2012-09-04 00:55:19.926196170 +0200 ++++ ./src/modules/avformat/configure 2012-09-04 00:43:04.696053595 +0200 +@@ -105,7 +105,7 @@ + + if [ "$vdpau" = "true" ] + then +- printf "#include \n int main(){ VdpBitstreamBuffer test; test.struct_version; return 0;}" | gcc -I"$static_ffmpeg" $CFLAGS -c -x c - >/dev/null 2>&1 ++ printf "#include \n int main(){ VdpBitstreamBuffer test; test.struct_version; return 0;}" | $CC -I"$static_ffmpeg" $CFLAGS -c -x c - >/dev/null 2>&1 + [ "$x11" = "0" -a "$?" = "0" ] && echo "VDPAU=1" >> config.mak + fi + else +@@ -141,7 +141,7 @@ + + if [ "$vdpau" = "true" ] + then +- printf "#include \n int main(){ VdpBitstreamBuffer test; test.struct_version; return 0;}" | gcc -I"$(pkg-config --cflags libavformat)" -I"$shared_ffmpeg/include" $CFLAGS -c -x c - >/dev/null 2>&1 ++ printf "#include \n int main(){ VdpBitstreamBuffer test; test.struct_version; return 0;}" | $CC -I"$(pkg-config --cflags libavformat)" -I"$shared_ffmpeg/include" $CFLAGS -c -x c - >/dev/null 2>&1 + [ "$x11" = "0" -a "$?" = "0" ] && echo "VDPAU=1" >> config.mak + fi + else Added: head/multimedia/mlt/files/patch-src__modules__frei0r__configure ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/mlt/files/patch-src__modules__frei0r__configure Mon Sep 3 23:16:06 2012 (r303629) @@ -0,0 +1,11 @@ +--- ./src/modules/frei0r/configure.orig 2012-09-04 00:21:50.609711766 +0200 ++++ ./src/modules/frei0r/configure 2012-09-04 00:47:23.666167132 +0200 +@@ -3,7 +3,7 @@ + if [ "$help" != "1" ] + then + +- echo "#include int main(){ f0r_plugin_info_t test; test.name;return 0;}"| gcc $CFLAGS -c -x c - >/dev/null 2>&1 ++ echo "#include int main(){ f0r_plugin_info_t test; test.name;return 0;}"| $CC $CFLAGS -c -x c - >/dev/null 2>&1 + + if [ "$?" = "1" ] + then