openbsd-ports/graphics/xzgv/patches/patch-src_Makefile

25 lines
724 B
Plaintext
Raw Normal View History

$OpenBSD: patch-src_Makefile,v 1.1.1.1 2005/05/22 11:32:11 alek Exp $
--- src/Makefile.orig Tue Jan 1 06:37:45 2002
+++ src/Makefile Thu May 12 15:53:36 2005
@@ -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 ge
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