summaryrefslogtreecommitdiff
path: root/mail/qmail-conf
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 /mail/qmail-conf
parent69d933a3b14021c46a3e96090d87d38b79ef8783 (diff)
downloadpkgsrc-1639afb31aaf003a4b11d65c02b8cccb27c6f8b4.tar.gz
DESTDIR support.
Diffstat (limited to 'mail/qmail-conf')
-rw-r--r--mail/qmail-conf/Makefile6
-rw-r--r--mail/qmail-conf/distinfo3
-rw-r--r--mail/qmail-conf/patches/patch-aa36
3 files changed, 42 insertions, 3 deletions
diff --git a/mail/qmail-conf/Makefile b/mail/qmail-conf/Makefile
index a319b87e049..4e9958c5db7 100644
--- a/mail/qmail-conf/Makefile
+++ b/mail/qmail-conf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2006/07/27 18:48:02 jlam Exp $
+# $NetBSD: Makefile,v 1.27 2010/03/15 17:30:28 schmonz Exp $
#
DISTNAME= qmail-conf-0.60
@@ -18,8 +18,10 @@ DEPENDS+= ucspi-tcp>=0.86:../../net/ucspi-tcp
SITES.djbdns-1.05.tar.gz= http://cr.yp.to/djbdns/ ftp://cr.yp.to/djbdns/
+PKG_DESTDIR_SUPPORT= user-destdir
+
DJB_RESTRICTED= NO
-DJB_CONFIG_CMDS= ${ECHO} ${LOCALBASE} > ${WRKSRC}/conf-ucspi-tcp
+DJB_CONFIG_CMDS= ${ECHO} ${LOCALBASE:Q} > ${WRKSRC}/conf-ucspi-tcp
SUBST_FILES.djbware+= ../djbdns-1.05/error.h
diff --git a/mail/qmail-conf/distinfo b/mail/qmail-conf/distinfo
index 5009e6909ac..31e406065dd 100644
--- a/mail/qmail-conf/distinfo
+++ b/mail/qmail-conf/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 09:59:28 agc Exp $
+$NetBSD: distinfo,v 1.4 2010/03/15 17:30:28 schmonz Exp $
SHA1 (qmail-conf-0.60.tar.gz) = d9a48e15394b0e7beaf5f7c64db4be101a71fb08
RMD160 (qmail-conf-0.60.tar.gz) = 41bb36cb644c3669be96abccce3b69a91aa44cd8
@@ -6,3 +6,4 @@ Size (qmail-conf-0.60.tar.gz) = 6332 bytes
SHA1 (djbdns-1.05.tar.gz) = 2efdb3a039d0c548f40936aa9cb30829e0ce8c3d
RMD160 (djbdns-1.05.tar.gz) = a832cbfd93e4ccec6a565492a4ee0b3c1b4b68ed
Size (djbdns-1.05.tar.gz) = 85648 bytes
+SHA1 (patch-aa) = f649a22f6b16ae1b84a21c2ae860b72af1121e13
diff --git a/mail/qmail-conf/patches/patch-aa b/mail/qmail-conf/patches/patch-aa
new file mode 100644
index 00000000000..92b38e141d3
--- /dev/null
+++ b/mail/qmail-conf/patches/patch-aa
@@ -0,0 +1,36 @@
+$NetBSD: patch-aa,v 1.1 2010/03/15 17:30:28 schmonz Exp $
+
+--- Makefile.ini.orig 2001-09-02 07:47:33.000000000 +0000
++++ Makefile.ini
+@@ -25,6 +25,14 @@ auto-str: \
+ load auto-str.o djb.a
+ ./load auto-str djb.a
+
++auto_destdir.c: \
++auto-str conf-destdir
++ ./auto-str auto_qmail `sed 1q conf-destdir` > auto_destdir.c
++
++auto_destdir.o: \
++compile auto_destdir.c
++ ./compile auto_destdir.c
++
+ auto_qmail.c: \
+ auto-str conf-qmail
+ ./auto-str auto_qmail `sed 1q conf-qmail` > auto_qmail.c
+@@ -72,12 +80,12 @@ compile hier.c auto_qmail.h
+ ./compile hier.c
+
+ install: \
+-load install.o hier.o auto_qmail.o djb.a
+- ./load install hier.o auto_qmail.o djb.a
++load install.o hier.o auto_destdir.o djb.a
++ ./load install hier.o auto_destdir.o djb.a
+
+ instcheck: \
+-load instcheck.o hier.o auto_qmail.o djb.a
+- ./load instcheck hier.o auto_qmail.o djb.a
++load instcheck.o hier.o auto_destdir.o djb.a
++ ./load instcheck hier.o auto_destdir.o djb.a
+
+ it: \
+ djbdns.version prog install instcheck