diff options
Diffstat (limited to 'misc/since/patches/patch-Makefile')
-rw-r--r-- | misc/since/patches/patch-Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/misc/since/patches/patch-Makefile b/misc/since/patches/patch-Makefile new file mode 100644 index 00000000000..7ca28235442 --- /dev/null +++ b/misc/since/patches/patch-Makefile @@ -0,0 +1,23 @@ +$NetBSD: patch-Makefile,v 1.1.1.1 2012/08/17 23:38:11 seb Exp $ + +pkgsrc friendly Makefile + +--- Makefile.orig 2010-07-10 12:57:32.000000000 +0000 ++++ Makefile +@@ -15,11 +15,13 @@ RM = rm -f + INSTALL = install -D + + $(NAME): $(NAME).c +- $(CC) $(CFLAGS) -o $@ $^ ++ $(CC) $(CFLAGS) -o $@ $< + + install: $(NAME) +- $(INSTALL) $(NAME) $(prefix)/bin/$(NAME) +- $(INSTALL) $(NAME).1 $(prefix)/share/man/man1/$(NAME).1 ++ $(BSD_INSTALL_PROGRAM_DIR) $(DESTDIR)$(PREFIX)/bin ++ $(BSD_INSTALL_PROGRAM) $(NAME) $(DESTDIR)$(PREFIX)/bin/$(NAME) ++ $(BSD_INSTALL_MAN_DIR) $(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1 ++ $(BSD_INSTALL_MAN) $(NAME).1 $(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1/$(NAME).1 + + clean: + $(RM) $(NAME) core *.o |