summaryrefslogtreecommitdiff
path: root/sysutils/dirsize/patches
diff options
context:
space:
mode:
authorminskim <minskim>2005-05-28 07:20:34 +0000
committerminskim <minskim>2005-05-28 07:20:34 +0000
commit6aa0529266530bdb06e270ab36a1ca49e94a4435 (patch)
treea03a0005b2a6edb35d7baa35e18bd6aa92bc2f5b /sysutils/dirsize/patches
parent0865f679e680015002014f48e5b46237c224ab43 (diff)
downloadpkgsrc-6aa0529266530bdb06e270ab36a1ca49e94a4435.tar.gz
Import dirsize from pkgsrc-wip. Packaged by Leonard Schmidt.
This tool simply outputs the aggregate size of all files in one or more directories, defaulting to the current directory. It does not recurse. The tool's primary purpose is for use with the shell prompt.
Diffstat (limited to 'sysutils/dirsize/patches')
-rw-r--r--sysutils/dirsize/patches/patch-aa23
1 files changed, 23 insertions, 0 deletions
diff --git a/sysutils/dirsize/patches/patch-aa b/sysutils/dirsize/patches/patch-aa
new file mode 100644
index 00000000000..aba41c93bd8
--- /dev/null
+++ b/sysutils/dirsize/patches/patch-aa
@@ -0,0 +1,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)