pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/cyrus-imapd23 Use makedepend before build for MAK...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e194ccf8023f
branches:  trunk
changeset: 575786:e194ccf8023f
user:      obache <obache%pkgsrc.org@localhost>
date:      Sat May 22 12:05:10 2010 +0000

description:
Use makedepend before build for MAKE_JOBS_SAFE.

diffstat:

 mail/cyrus-imapd23/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 24e5f599260e -r e194ccf8023f mail/cyrus-imapd23/Makefile
--- a/mail/cyrus-imapd23/Makefile       Fri May 21 22:21:06 2010 +0000
+++ b/mail/cyrus-imapd23/Makefile       Sat May 22 12:05:10 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2010/05/17 03:03:28 obache Exp $
+# $NetBSD: Makefile,v 1.3 2010/05/22 12:05:10 obache Exp $
 
 DISTNAME=      cyrus-imapd-2.3.16
 CATEGORIES=    mail
@@ -14,7 +14,7 @@
 
 PKG_DESTDIR_SUPPORT=   user-destdir
 
-USE_TOOLS+=            perl
+USE_TOOLS+=            perl makedepend
 USE_PKGLOCALEDIR=      yes
 GNU_CONFIGURE=         yes
 PERL5_CONFIGURE=       no
@@ -79,6 +79,10 @@
        auto/Cyrus/IMAP/.packlist                       \
        auto/Cyrus/SIEVE/managesieve/.packlist
 
+pre-build:
+       ${RUN}${_ULIMIT_CMD} \
+       cd ${WRKSRC} && ${BUILD_MAKE_CMD} depend
+
 .include "../../lang/perl5/module.mk"
 BUILDLINK_API_DEPENDS.cyrus-sasl+=     cyrus-sasl>=2.1.17
 .include "../../security/cyrus-sasl/buildlink3.mk"



Home | Main Index | Thread Index | Old Index