about summary refs log tree commit diff
path: root/pkgs/applications/misc/rxvt_unicode
diff options
context:
space:
mode:
authorMarcus Crestani <marcus@crestani.de>2015-01-13 10:11:02 +0100
committerMarcus Crestani <marcus@crestani.de>2015-02-04 20:44:19 +0100
commit852b6c10937625c3ec596bed3986a9bed1f0fc5d (patch)
treefd66104b4a289a82d9d5e2efe206485daf8a9d85 /pkgs/applications/misc/rxvt_unicode
parent92ca6149347b563082d08bee5860927d22cb016c (diff)
rxvt-unicode: On OS X, add .PHONY target to Makefile.in.
Due to the case-insensitive file system on OS X, `make install` does
nothing, since it sees the INSTALL file as the up-to-date target.
Adding a .PHONY target to the Makefile fixes this.
Diffstat (limited to 'pkgs/applications/misc/rxvt_unicode')
-rw-r--r--pkgs/applications/misc/rxvt_unicode/default.nix3
-rw-r--r--pkgs/applications/misc/rxvt_unicode/rxvt-unicode-makefile-phony.patch10
2 files changed, 12 insertions, 1 deletions
diff --git a/pkgs/applications/misc/rxvt_unicode/default.nix b/pkgs/applications/misc/rxvt_unicode/default.nix
index b0334dcd7ce98..12eeb62dc043c 100644
--- a/pkgs/applications/misc/rxvt_unicode/default.nix
+++ b/pkgs/applications/misc/rxvt_unicode/default.nix
@@ -28,7 +28,8 @@ stdenv.mkDerivation (rec {
   patches = [
     ./rxvt-unicode-9.06-font-width.patch
     ./rxvt-unicode-256-color-resources.patch
-  ];
+  ]
+  ++ stdenv.lib.optional stdenv.isDarwin ./rxvt-unicode-makefile-phony.patch;
 
   preConfigure =
     ''
diff --git a/pkgs/applications/misc/rxvt_unicode/rxvt-unicode-makefile-phony.patch b/pkgs/applications/misc/rxvt_unicode/rxvt-unicode-makefile-phony.patch
new file mode 100644
index 0000000000000..5e42e17c156a6
--- /dev/null
+++ b/pkgs/applications/misc/rxvt_unicode/rxvt-unicode-makefile-phony.patch
@@ -0,0 +1,10 @@
+--- a/Makefile.in	2015-01-13 08:52:30.000000000 +0100
++++ b/Makefile.in	2015-01-13 08:52:58.000000000 +0100
+@@ -30,6 +30,7 @@
+ subdirs = src doc
+ 
+ RECURSIVE_TARGETS = all allbin alldoc tags clean distclean realclean install
++.PHONY: $(RECURSIVE_TARGETS)
+ 
+ #-------------------------------------------------------------------------
+