From 852b6c10937625c3ec596bed3986a9bed1f0fc5d Mon Sep 17 00:00:00 2001 From: Marcus Crestani Date: Tue, 13 Jan 2015 10:11:02 +0100 Subject: [PATCH] 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. --- pkgs/applications/misc/rxvt_unicode/default.nix | 3 ++- .../rxvt_unicode/rxvt-unicode-makefile-phony.patch | 10 ++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 pkgs/applications/misc/rxvt_unicode/rxvt-unicode-makefile-phony.patch diff --git a/pkgs/applications/misc/rxvt_unicode/default.nix b/pkgs/applications/misc/rxvt_unicode/default.nix index b0334dcd7ce..12eeb62dc04 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 00000000000..5e42e17c156 --- /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) + + #------------------------------------------------------------------------- +