diff options
Diffstat (limited to 'security/rats/patches/patch-ab')
-rw-r--r-- | security/rats/patches/patch-ab | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/security/rats/patches/patch-ab b/security/rats/patches/patch-ab new file mode 100644 index 00000000000..3aeaa1214e7 --- /dev/null +++ b/security/rats/patches/patch-ab @@ -0,0 +1,29 @@ +$NetBSD: patch-ab,v 1.1 2010/02/20 08:25:52 obache Exp $ + +user-destdir support. + +--- Makefile.in.orig 2002-08-21 20:48:56.000000000 +0000 ++++ Makefile.in +@@ -48,14 +48,14 @@ lex: c-lex.l python-lex.l perl-lex.l + $(LEX) $(LEXFLAGS) -Pyyphp php-lex.l + + install: $(BIN) +- ./mkinstalldirs $(BINDIR) $(LIBDIR) $(MANDIR) $(MANDIR)/man1 $(SHAREDIR) +- $(INSTALL_PROGRAM) $(BIN) $(BINDIR) +- $(INSTALL_DATA) rats-python.xml $(SHAREDIR) +- $(INSTALL_DATA) rats-c.xml $(SHAREDIR) +- $(INSTALL_DATA) rats-perl.xml $(SHAREDIR) +- $(INSTALL_DATA) rats-php.xml $(SHAREDIR) +- $(INSTALL_DATA) rats-openssl.xml $(SHAREDIR) +- $(INSTALL_DATA) rats.1 $(MANDIR)/man1 ++ ./mkinstalldirs $(DESTDIR)$(BINDIR) $(DESTDIR)$(LIBDIR) $(DESTDIR)$(MANDIR) $(DESTDIR)$(MANDIR)/man1 $(DESTDIR)$(SHAREDIR) ++ $(INSTALL_PROGRAM) $(BIN) $(DESTDIR)$(BINDIR) ++ $(INSTALL_DATA) rats-python.xml $(DESTDIR)$(SHAREDIR) ++ $(INSTALL_DATA) rats-c.xml $(DESTDIR)$(SHAREDIR) ++ $(INSTALL_DATA) rats-perl.xml $(DESTDIR)$(SHAREDIR) ++ $(INSTALL_DATA) rats-php.xml $(DESTDIR)$(SHAREDIR) ++ $(INSTALL_DATA) rats-openssl.xml $(DESTDIR)$(SHAREDIR) ++ $(INSTALL_DATA) rats.1 $(DESTDIR)$(MANDIR)/man1 + + clean: + rm -f $(OBJ) *~ $(BIN) core |