Date: Fri, 24 Aug 2012 07:25:16 +0000 (UTC) From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r303058 - head/multimedia/handbrake Message-ID: <201208240725.q7O7PGhm090903@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danfe Date: Fri Aug 24 07:25:16 2012 New Revision: 303058 URL: http://svn.freebsd.org/changeset/ports/303058 Log: Rename GUI option to X11 (to respect global OPTIONS_UNSET=X11 setting when building for e.g. headless servers). Suggested by: crees Modified: head/multimedia/handbrake/Makefile Modified: head/multimedia/handbrake/Makefile ============================================================================== --- head/multimedia/handbrake/Makefile Fri Aug 24 06:55:55 2012 (r303057) +++ head/multimedia/handbrake/Makefile Fri Aug 24 07:25:16 2012 (r303058) @@ -61,22 +61,22 @@ ALL_TARGET= # NOPRECIOUSMAKEVARS= yes # for ffmpeg and x264 -OPTIONS_DEFINE= GUI -GUI_DESC= Build GTK+2 based GUI program -OPTIONS_DEFAULT= GUI +OPTIONS_DEFINE= X11 +X11_DESC= Build GTK+2 based GUI program +OPTIONS_DEFAULT= X11 .include <bsd.port.pre.mk> # Recent GNU binutils are required to handle inline SSSE3 asm (in x264), and # to support --exclude-libs option for ld(1) when building GUI program -.if ${PORT_OPTIONS:MGUI} || ${OSVERSION} < 802509 || \ +.if ${PORT_OPTIONS:MX11} || ${OSVERSION} < 802509 || \ ${OSVERSION} >= 900000 && ${OSVERSION} < 900033 BUILD_DEPENDS+= as:${PORTSDIR}/devel/binutils CONFIGURE_ENV= COMPILER_PATH=${LOCALBASE}/bin MAKE_ENV= COMPILER_PATH=${LOCALBASE}/bin .endif -.if ${PORT_OPTIONS:MGUI} +.if ${PORT_OPTIONS:MX11} CONFIGURE_ARGS+= --disable-gtk-update-checks --disable-gst LIB_DEPENDS+= dbus-glib-1:${PORTSDIR}/devel/dbus-glib \ notify:${PORTSDIR}/devel/libnotify @@ -131,7 +131,7 @@ post-patch: do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/HandBrakeCLI ${PREFIX}/bin -.if ${PORT_OPTIONS:MGUI} +.if ${PORT_OPTIONS:MX11} ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/gtk/src/ghb ${PREFIX}/bin/HandBrake .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208240725.q7O7PGhm090903>