summaryrefslogtreecommitdiff
path: root/mail/qmqtool
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2014-06-09 23:47:56 +0000
committerschmonz <schmonz@pkgsrc.org>2014-06-09 23:47:56 +0000
commit5e32789a433591ead99014a20bd9e580fd40de48 (patch)
treea90475f57a149b81c50b485f729f4d7cd754ab56 /mail/qmqtool
parent20f5fe0fd066cb587f28b319533688c28f89688a (diff)
downloadpkgsrc-5e32789a433591ead99014a20bd9e580fd40de48.tar.gz
Since qmqtool operates directly on a queue structure, it doesn't
depend on mail/qmail, so ${QMAILDIR} may not exist at build time. Patch out overzealous configure checks.
Diffstat (limited to 'mail/qmqtool')
-rw-r--r--mail/qmqtool/distinfo3
-rw-r--r--mail/qmqtool/patches/patch-configure49
2 files changed, 51 insertions, 1 deletions
diff --git a/mail/qmqtool/distinfo b/mail/qmqtool/distinfo
index b0fa142355f..1df2bd175d9 100644
--- a/mail/qmqtool/distinfo
+++ b/mail/qmqtool/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2014/06/02 14:09:20 schmonz Exp $
+$NetBSD: distinfo,v 1.3 2014/06/09 23:47:56 schmonz Exp $
SHA1 (qmqtool-1.14.tgz) = a15ea167137697665d770574aae19f98c8caa44d
RMD160 (qmqtool-1.14.tgz) = 020abb26fe17f10448bb6a1619f408e4899845cf
Size (qmqtool-1.14.tgz) = 25357 bytes
SHA1 (patch-aa) = e80d247f9637889ae4bc2d4fe19a918dbbf58205
+SHA1 (patch-configure) = 01ae176043aa25107bf698c355132158885569e0
diff --git a/mail/qmqtool/patches/patch-configure b/mail/qmqtool/patches/patch-configure
new file mode 100644
index 00000000000..b026c4b8084
--- /dev/null
+++ b/mail/qmqtool/patches/patch-configure
@@ -0,0 +1,49 @@
+$NetBSD: patch-configure,v 1.1 2014/06/09 23:47:56 schmonz Exp $
+
+Since qmqtool operates directly on a queue structure, it doesn't
+depend on mail/qmail, so ${QMAILDIR} may not exist at build time.
+Patch out overzealous configure checks.
+
+--- configure.orig 2009-01-24 04:20:49.000000000 +0000
++++ configure
+@@ -77,12 +77,12 @@ EOM
+ ;;
+ --qmaildir*)
+ if [ "$arg" ]; then
+- if [ -d "$arg" ] ; then
++# if [ -d "$arg" ] ; then
+ qmaildir=$arg
+- else
+- echo "*** QMAILDIR: $arg is not a directory"
+- sleep 1
+- fi
++# else
++# echo "*** QMAILDIR: $arg is not a directory"
++# sleep 1
++# fi
+ fi
+ ;;
+ *)
+@@ -106,14 +106,14 @@ if [ ! -x "$perl" ] ; then
+ fi
+ fi
+
+-if [ ! -d "$qmaildir" ] ; then
+- if test -d /var/qmail ; then
+- qmaildir=/var/qmail
+- else
+- echo "could not find qmail directory: specify --qmaildir="
+- exit 1
+- fi
+-fi
++#if [ ! -d "$qmaildir" ] ; then
++# if test -d /var/qmail ; then
++# qmaildir=/var/qmail
++# else
++# echo "could not find qmail directory: specify --qmaildir="
++# exit 1
++# fi
++#fi
+
+ if [ ! "$prefix" ] && [ ! "$scriptdir" ] && [ ! "$mandir" ] ; then
+ exscr="`which qmqtool`"