diff --git a/pkgs/applications/misc/rxvt_unicode/default.nix b/pkgs/applications/misc/rxvt_unicode/default.nix index b0334dcd7ce9..12eeb62dc043 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 000000000000..5e42e17c156a --- /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) + + #------------------------------------------------------------------------- +