blob: aba41c93bd8154a2ee0ba921f5dcd0dc3b5ae18d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
$NetBSD: patch-aa,v 1.1.1.1 2005/05/28 07:20:34 minskim Exp $
--- Makefile.orig 2005-04-09 17:48:01.000000000 -0500
+++ Makefile
@@ -1,7 +1,7 @@
-CFLAGS += -Wimplicit -Wall -pedantic-errors --std=gnu99 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64
+CFLAGS += -D_LARGE_FILES -D_FILE_OFFSET_BITS=64
EXENAME = dirsize
-PREFIX = /usr
+#PREFIX = /usr
BINDIR = $(PREFIX)/bin
all: $(EXENAME)
@@ -10,6 +10,5 @@ clean:
-rm -f $(EXENAME)
install: all
- strip $(EXENAME)
- install -d $(DESTDIR)/$(BINDIR)
- install -c $(EXENAME) $(DESTDIR)/$(BINDIR)
+ ${BSD_INSTALL_PROGRAM_DIR} $(BINDIR)
+ ${BSD_INSTALL_PROGRAM} $(EXENAME) $(BINDIR)
|