$OpenBSD: patch-src_Makefile,v 1.2 2007/07/17 12:45:49 ajacoutot Exp $
--- src/Makefile.orig	Tue Jul 17 14:26:28 2007
+++ src/Makefile	Tue Jul 17 14:26:29 2007
@@ -30,7 +30,7 @@ BACKEND_LIBS=`case "$(BACKEND)" in \
 # compile when you do `make install'. :-)
 # (It would also be weird to have it made by the `doc' Makefile, IMHO.)
 
-all: xzgv install-info
+all: xzgv
 
 OBJS=	main.o \
 	filedetails.o gotodir.o updatetn.o confirm.o help.o \
@@ -57,9 +57,8 @@ install-info: install-info.c getopt.o getopt1.o
 installdirs:
 	/bin/sh ../mkinstalldirs $(BINDIR)
 
-install: xzgv installdirs
-	install xzgv $(BINDIR)
-	chmod 755 $(BINDIR)/xzgv
+install: xzgv
+	${BSD_INSTALL_PROGRAM} xzgv $(BINDIR)
 
 uninstall:
 	$(RM) $(BINDIR)/xzgv
