summaryrefslogtreecommitdiff
path: root/sysutils/screenbrightness/patches
diff options
context:
space:
mode:
authorwiedi <wiedi@pkgsrc.org>2015-01-17 15:34:21 +0000
committerwiedi <wiedi@pkgsrc.org>2015-01-17 15:34:21 +0000
commitd2e69e0213fb5a195b2ddcaf2ec3ed9ccc7b1a1c (patch)
tree8647b31d4d5e03a3dd461c2e76de23957a3c6930 /sysutils/screenbrightness/patches
parentc44544e69a8cc074bf5a7e7648e8909a6a1bda20 (diff)
downloadpkgsrc-d2e69e0213fb5a195b2ddcaf2ec3ed9ccc7b1a1c.tar.gz
Import screenbrightness-1.1 as sysutils/screenbrightness
screenbrightness is an OS X command line utility for changing screen brightness. It also lets you retrieve the current brightness settings.
Diffstat (limited to 'sysutils/screenbrightness/patches')
-rw-r--r--sysutils/screenbrightness/patches/patch-Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/sysutils/screenbrightness/patches/patch-Makefile b/sysutils/screenbrightness/patches/patch-Makefile
new file mode 100644
index 00000000000..efbec864a54
--- /dev/null
+++ b/sysutils/screenbrightness/patches/patch-Makefile
@@ -0,0 +1,23 @@
+$NetBSD: patch-Makefile,v 1.1 2015/01/17 15:34:21 wiedi Exp $
+
+install to correct prefix
+--- Makefile.orig 2013-11-02 05:56:09.000000000 +0000
++++ Makefile
+@@ -3,9 +3,7 @@
+ # Friday November 1, 2013
+ # Jon Stacey <jon@jonsview.com>
+
+-prefix=/usr/local
+-
+-CC=clang
++prefix=$(DESTDIR)$(PREFIX)
+
+ build: screenbrightness
+
+@@ -20,4 +18,4 @@ clean:
+
+ install:
+ mkdir -p $(prefix)/bin
+- install -s -m 0755 screenbrightness $(prefix)/bin
+\ No newline at end of file
++ install -s -m 0755 screenbrightness $(prefix)/bin