Date: Mon, 6 May 2013 09:07:30 +0000 (UTC) From: Jason Helfman <jgh@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r317490 - head/multimedia/avidemux2 Message-ID: <201305060907.r4697UdP010165@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jgh Date: Mon May 6 09:07:30 2013 New Revision: 317490 URL: http://svnweb.freebsd.org/changeset/ports/317490 Log: - convert to USES for gettext Approved by: portmgr (bapt@) Modified: head/multimedia/avidemux2/Makefile.common Modified: head/multimedia/avidemux2/Makefile.common ============================================================================== --- head/multimedia/avidemux2/Makefile.common Mon May 6 09:06:18 2013 (r317489) +++ head/multimedia/avidemux2/Makefile.common Mon May 6 09:07:30 2013 (r317490) @@ -41,6 +41,21 @@ OPTIONS_DEFAULT= GTK2 FREETYPE FONTCONFI OPTIONS_DEFAULT+= LAME FAAC AMR .endif +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MNLS} +USES+= gettext +PLIST_SUB+= NLS="" +. if !defined(WITH_QT4) +PLIST_SUB+= QT_NLS="@comment " +. else +PLIST_SUB+= QT_NLS="" +. endif +.else +CMAKE_ARGS+= -DNO_NLS:BOOL=ON +PLIST_SUB+= NLS="@comment " QT_NLS="@comment " +.endif + .include <bsd.port.pre.mk> # for libexecinfo: (so that __builtin_frame_address() finds the top @@ -198,19 +213,6 @@ CMAKE_ARGS+= -DOPENCORE_AMRWB:BOOL=OFF PLIST_SUB+= AMRWB="@comment " .endif -.if ${PORT_OPTIONS:MNLS} -USE_GETTEXT= yes -PLIST_SUB+= NLS="" -. if !defined(WITH_QT4) -PLIST_SUB+= QT_NLS="@comment " -. else -PLIST_SUB+= QT_NLS="" -. endif -.else -CMAKE_ARGS+= -DNO_NLS:BOOL=ON -PLIST_SUB+= NLS="@comment " QT_NLS="@comment " -.endif - .if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64" BROKEN= Does not compile on ia64, powerpc, or sparc64 .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305060907.r4697UdP010165>