summaryrefslogtreecommitdiff
path: root/net/djbdns/patches/patch-ad
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2010-03-15 17:28:10 +0000
committerschmonz <schmonz@pkgsrc.org>2010-03-15 17:28:10 +0000
commit1639afb31aaf003a4b11d65c02b8cccb27c6f8b4 (patch)
tree0774357fb6bdaebccbcaf2e982cc260fcdf2647b /net/djbdns/patches/patch-ad
parent69d933a3b14021c46a3e96090d87d38b79ef8783 (diff)
downloadpkgsrc-1639afb31aaf003a4b11d65c02b8cccb27c6f8b4.tar.gz
DESTDIR support.
Diffstat (limited to 'net/djbdns/patches/patch-ad')
-rw-r--r--net/djbdns/patches/patch-ad40
1 files changed, 40 insertions, 0 deletions
diff --git a/net/djbdns/patches/patch-ad b/net/djbdns/patches/patch-ad
new file mode 100644
index 00000000000..b26c8a1b314
--- /dev/null
+++ b/net/djbdns/patches/patch-ad
@@ -0,0 +1,40 @@
+$NetBSD: patch-ad,v 1.3 2010/03/15 17:31:57 schmonz Exp $
+
+--- Makefile.orig 2001-02-11 21:11:45.000000000 +0000
++++ Makefile
+@@ -29,6 +29,14 @@ auto-str.o: \
+ compile auto-str.c buffer.h exit.h
+ ./compile auto-str.c
+
++auto_destdir.c: \
++auto-str conf-destdir
++ ./auto-str auto_home `head -1 conf-destdir` > auto_destdir.c
++
++auto_destdir.o: \
++compile auto_destdir.c
++ ./compile auto_destdir.c
++
+ auto_home.c: \
+ auto-str conf-home
+ ./auto-str auto_home `head -1 conf-home` > auto_home.c
+@@ -519,16 +527,16 @@ compile hier.c auto_home.h
+ ./compile hier.c
+
+ install: \
+-load install.o hier.o auto_home.o buffer.a unix.a byte.a
+- ./load install hier.o auto_home.o buffer.a unix.a byte.a
++load install.o hier.o auto_destdir.o buffer.a unix.a byte.a
++ ./load install hier.o auto_destdir.o buffer.a unix.a byte.a
+
+ install.o: \
+ compile install.c buffer.h strerr.h error.h open.h exit.h
+ ./compile install.c
+
+ instcheck: \
+-load instcheck.o hier.o auto_home.o buffer.a unix.a byte.a
+- ./load instcheck hier.o auto_home.o buffer.a unix.a byte.a
++load instcheck.o hier.o auto_destdir.o buffer.a unix.a byte.a
++ ./load instcheck hier.o auto_destdir.o buffer.a unix.a byte.a
+
+ instcheck.o: \
+ compile instcheck.c strerr.h error.h exit.h