summaryrefslogtreecommitdiff
path: root/sysutils/nvclock/files/patch-src__Makefile.in
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-29 17:12:47 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-29 17:12:47 +0000
commit08a006d08a4c35d2c3ecc9a3d10cf7fd14661a84 (patch)
tree0cfc4f0736babb895eb97a65c6defe632a0249c7 /sysutils/nvclock/files/patch-src__Makefile.in
parenteditors/fte: update to 20110708 (diff)
Rename all patches that contain '::' as a path separator, and use
'__' instead.
Notes
Notes: svn path=/head/; revision=363362
Diffstat (limited to 'sysutils/nvclock/files/patch-src__Makefile.in')
-rw-r--r--sysutils/nvclock/files/patch-src__Makefile.in42
1 files changed, 42 insertions, 0 deletions
diff --git a/sysutils/nvclock/files/patch-src__Makefile.in b/sysutils/nvclock/files/patch-src__Makefile.in
new file mode 100644
index 000000000000..ec731ffb031a
--- /dev/null
+++ b/sysutils/nvclock/files/patch-src__Makefile.in
@@ -0,0 +1,42 @@
+--- src/Makefile.in.orig 2010-09-08 12:09:22.000000000 +0800
++++ src/Makefile.in 2010-09-07 22:23:40.000000000 +0800
+@@ -9,8 +9,8 @@
+ libnvcontrol=./nvcontrol/libnvcontrol.a
+
+ prefix=$(DESTDIR)@prefix@
+-exec_prefix=$(DESTDIR)@exec_prefix@
+-bindir=$(DESTDIR)@bindir@
++exec_prefix=@exec_prefix@
++bindir=@bindir@
+
+ ifeq ($(HAVE_NVCONTROL), yes)
+ DEPS=$(libbackend) $(libnvcontrol)
+@@ -27,7 +27,7 @@
+ distclean install install-app install-recursive
+
+
+-all: all-recursive nvclock smartdimmer
++all: nvclock smartdimmer
+
+
+ nvclock: $(DEPS) $(LIB) nvclock.c
+@@ -36,6 +36,8 @@
+ smartdimmer: $(DEPS) $(LIB) smartdimmer.c
+ $(CC) -o smartdimmer $(smartdimmer_SOURCES) $(INCLUDES) $(LIBS)
+
++$(DEPS): all-recursive
++
+
+ clean: clean-recursive clean-app
+ clean-app:
+@@ -50,8 +52,8 @@
+ install: install-recursive install-app
+ install-app:
+ mkdir -p $(bindir)
+- $(INSTALL) -c nvclock $(DESTDIR)$(bindir)/nvclock
+- $(INSTALL) -c smartdimmer $(DESTDIR)$(bindir)/smartdimmer
++ $(INSTALL) -c nvclock $(bindir)/nvclock
++ $(INSTALL) -c smartdimmer $(bindir)/smartdimmer
+
+
+ uninstall: uninstall-recursive uninstall-app