FreeBSD Bugzilla – Attachment 125233 Details for
Bug 168825
[PATCH] accessibility/redshift: optionsng
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
redshift-1.7.patch
redshift-1.7.patch (text/plain), 2.03 KB, created by
Mark Felder
on 2012-06-07 22:10:13 UTC
(
hide
)
Description:
redshift-1.7.patch
Filename:
MIME Type:
Creator:
Mark Felder
Created:
2012-06-07 22:10:13 UTC
Size:
2.03 KB
patch
obsolete
>diff -ruN --exclude=CVS ../redshift.orig/Makefile ./Makefile >--- ../redshift.orig/Makefile 2012-06-05 09:11:06.000000000 -0500 >+++ ./Makefile 2012-06-07 16:01:24.389273557 -0500 >@@ -2,12 +2,11 @@ > # Date created: Wed Nov 24 12:35:17 CST 2010 > # Whom: Mark Felder <feld@feld.me> > # >-# $FreeBSD: ports/accessibility/redshift/Makefile,v 1.3 2012/06/01 05:15:45 dinoex Exp $ >+# $FreeBSD: ports/accessibility/redshift/Makefile,v 1.2 2011/08/31 23:01:35 dhn Exp $ > # > > PORTNAME= redshift > PORTVERSION= 1.7 >-PORTREVISION= 1 > CATEGORIES= accessibility > MASTER_SITES= http://launchpad.net/redshift/trunk/${PORTVERSION}/+download/ > >@@ -22,38 +21,41 @@ > MAN1= redshift.1 > MANCOMPRESSED= no > >-CONFIGURE_ARGS+=--disable-wingdi --disable-gnome-clock --disable-gui >+CONFIGURE_ARGS+= --disable-wingdi > >-.if !defined(WITHOUT_NLS) >+OPTIONS_DEFINE= GUI NLS RANDR VIDMODE >+OPTIONS_DEFAULT= RANDR >+ >+GUI_DESC= Tray icon and location via Gnome clock >+RANDR_DESC= Support RANDR for changing colors >+VIDMODE_DESC= Support VIDMODE for changing colors (NVIDIA) >+ >+.include <bsd.port.options.mk> >+ >+.if ${PORT_OPTIONS:MNLS) > USE_GETTEXT= yes > CONFIGURE_ARGS+=--with-libiconv-prefix=${LOCALBASE} \ >- --with-libintl-prefix=${LOCALBASE} >+ --with-libintl-prefix=${LOCALBASE} > PLIST_SUB= NLS="" > .else > CONFIGURE_ARGS+=--disable-nls > PLIST_SUB= NLS="@comment " > .endif > >-OPTIONS= GUI "Tray icon & location via Gnome clock" off \ >- RANDR "Support RANDR for changing colors" on \ >- VIDMODE "Support VIDMODE for changing colors (NVIDIA)" off >- >-.include <bsd.port.options.mk> >- >-.if defined(WITH_RANDR) >+.if ${PORT_OPTIONS:MRANDR} > CONFIGURE_ARGS+=--enable-randr > USE_XORG= xrandr > .else > CONFIGURE_ARGS+=--disable-randr > .endif > >-.if defined(WITH_VIDMODE) >+.if ${PORT_OPTIONS:MVIDMODE} > CONFIGURE_ARGS+=--enable-vidmode > .else > CONFIGURE_ARGS+=--disable-vidmode > .endif > >-.if defined(WITH_GUI) >+.if ${PORT_OPTIONS:MGUI} > CONFIGURE_ARGS+=--enable-gui --enable-gnome-clock > RUN_DEPENDS+= py-gtk2:${PORTSDIR}/x11-toolkits/py-gtk2 \ > py-xdg:${PORTSDIR}/devel/py-xdg
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 168825
: 125233