$NetBSD: patch-aa,v 1.3 2006/07/17 17:25:25 joerg Exp $ --- Makefile.orig Thu Aug 30 17:03:17 2001 +++ Makefile Wed Dec 3 15:29:20 2003 @@ -1,7 +1,7 @@ # Makefile - makefile for lbrate CC=gcc -CFLAGS=-O2 -Wall +#CFLAGS=-O2 -Wall # Set BINDIR to directory for binary, # MANDIR to directory for man page. @@ -19,14 +19,14 @@ all: lbrate lbrate: $(OBJ) - $(CC) $(CFLAGS) -o lbrate $(OBJ) + $(CC) $(CFLAGS) -o lbrate $(OBJ) $(LDFLAGS) installdirs: /bin/sh ./mkinstalldirs $(BINDIR) $(MANDIR) install: lbrate installdirs - install -m 755 lbrate $(BINDIR) - install -m 644 lbrate.1 $(MANDIR) + $(BSD_INSTALL_PROGRAM) lbrate $(BINDIR) + $(BSD_INSTALL_MAN) lbrate.1 ${PREFIX}/$(PKGMANDIR)/man1/ uninstall: $(RM) $(BINDIR)/lbrate $(MANDIR)/lbrate.1