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.
This commit is contained in:
Marcus Crestani 2015-01-13 10:11:02 +01:00
parent 92ca614934
commit 852b6c1093
2 changed files with 12 additions and 1 deletions

View file

@ -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 =
''

View file

@ -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)
#-------------------------------------------------------------------------