diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2012-08-24 07:25:16 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2012-08-24 07:25:16 +0000 |
commit | d55d988231746fcfda28e436566193fed35bc877 (patch) | |
tree | e80b30168626e21d4bfd361bf1a0abd0b1f1b3df /multimedia/handbrake | |
parent | - Update to 0.17 (diff) |
Rename GUI option to X11 (to respect global OPTIONS_UNSET=X11 setting when
building for e.g. headless servers).
Suggested by: crees
Notes
Notes:
svn path=/head/; revision=303058
Diffstat (limited to 'multimedia/handbrake')
-rw-r--r-- | multimedia/handbrake/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/multimedia/handbrake/Makefile b/multimedia/handbrake/Makefile index f90d97b2828f..3ea0cdcdebe9 100644 --- a/multimedia/handbrake/Makefile +++ b/multimedia/handbrake/Makefile @@ -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 |