diff options
author | schmonz <schmonz> | 2010-03-15 17:28:10 +0000 |
---|---|---|
committer | schmonz <schmonz> | 2010-03-15 17:28:10 +0000 |
commit | ecee80b7bca33d5ab92a35ee8568c6ead9d6c8b0 (patch) | |
tree | 0774357fb6bdaebccbcaf2e982cc260fcdf2647b /mail/serialmail/patches/patch-ac | |
parent | bb99a428f53ad113bdb5c9f1e19c53101f661806 (diff) | |
download | pkgsrc-ecee80b7bca33d5ab92a35ee8568c6ead9d6c8b0.tar.gz |
DESTDIR support.
Diffstat (limited to 'mail/serialmail/patches/patch-ac')
-rw-r--r-- | mail/serialmail/patches/patch-ac | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/mail/serialmail/patches/patch-ac b/mail/serialmail/patches/patch-ac new file mode 100644 index 00000000000..9b891d64fd6 --- /dev/null +++ b/mail/serialmail/patches/patch-ac @@ -0,0 +1,42 @@ +$NetBSD: patch-ac,v 1.1 2010/03/15 17:31:29 schmonz Exp $ + +--- Makefile.orig 1998-11-15 02:28:23.000000000 +0000 ++++ Makefile +@@ -28,6 +28,14 @@ auto-str.o: \ + compile auto-str.c substdio.h readwrite.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 +@@ -240,9 +248,9 @@ compile hier.c auto_home.h + ./compile hier.c + + install: \ +-load install.o hier.o auto_home.o strerr.a substdio.a open.a error.a \ ++load install.o hier.o auto_destdir.o strerr.a substdio.a open.a error.a \ + str.a +- ./load install hier.o auto_home.o strerr.a substdio.a \ ++ ./load install hier.o auto_destdir.o strerr.a substdio.a \ + open.a error.a str.a + + install.o: \ +@@ -251,8 +259,8 @@ exit.h + ./compile install.c + + instcheck: \ +-load instcheck.o hier.o auto_home.o strerr.a substdio.a error.a str.a +- ./load instcheck hier.o auto_home.o strerr.a substdio.a \ ++load instcheck.o hier.o auto_destdir.o strerr.a substdio.a error.a str.a ++ ./load instcheck hier.o auto_destdir.o strerr.a substdio.a \ + error.a str.a + + instcheck.o: \ |