summaryrefslogtreecommitdiff
path: root/mail/imap-uw
diff options
context:
space:
mode:
authorben <ben@pkgsrc.org>2004-04-22 21:31:22 +0000
committerben <ben@pkgsrc.org>2004-04-22 21:31:22 +0000
commit13512eb03d8ed8db80f67073ca13e63d15776a1d (patch)
treef5005fc3b06959d079f20a4fa1560772f419cd29 /mail/imap-uw
parent324b64af15814690d65890017a0937830241900d (diff)
downloadpkgsrc-13512eb03d8ed8db80f67073ca13e63d15776a1d.tar.gz
bl3ify imap-uw.
Diffstat (limited to 'mail/imap-uw')
-rw-r--r--mail/imap-uw/Makefile6
-rw-r--r--mail/imap-uw/buildlink3.mk20
2 files changed, 23 insertions, 3 deletions
diff --git a/mail/imap-uw/Makefile b/mail/imap-uw/Makefile
index b6a36f2dcfe..769f783e0a0 100644
--- a/mail/imap-uw/Makefile
+++ b/mail/imap-uw/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.75 2004/03/26 02:27:43 wiz Exp $
+# $NetBSD: Makefile,v 1.76 2004/04/22 21:31:22 ben Exp $
# ATTENTION:
# The Kerberos support in this software is known to be problematic. If you
# upgrade this package you *must* test it on a system *without* Kerberos
@@ -15,7 +15,7 @@ MAINTAINER= kim@tac.nyc.ny.us
HOMEPAGE= http://www.washington.edu/imap/
COMMENT= University of Washington's IMAP, POP2, and POP3 servers
-USE_BUILDLINK2= # defined
+USE_BUILDLINK3= # defined
USE_LIBTOOL= # defined
INST_PROG= ${LIBTOOL} ${INSTALL_PROGRAM}
@@ -161,7 +161,7 @@ do-install:
${FIND} ${DOC_DIR} -type f -print | ${XARGS} ${CHMOD} ${SHAREMODE}
.if !defined(IMAP_UW_NO_SSL) || ${IMAP_UW_NO_SSL} != "YES"
-.include "../../security/openssl/buildlink2.mk"
+.include "../../security/openssl/buildlink3.mk"
.endif
.include "../../mk/bsd.pkg.mk"
diff --git a/mail/imap-uw/buildlink3.mk b/mail/imap-uw/buildlink3.mk
new file mode 100644
index 00000000000..f5a8db70381
--- /dev/null
+++ b/mail/imap-uw/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/22 21:31:22 ben Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+IMAP_UW_BUILDLINK3_MK:= ${IMAP_UW_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= imap-uw
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nimap-uw}
+BUILDLINK_PACKAGES+= imap-uw
+
+.if !empty(IMAP_UW_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.imap-uw+= imap-uw>=2002.5nb3
+BUILDLINK_PKGSRCDIR.imap-uw?= ../../mail/imap-uw
+.endif # IMAP_UW_BUILDLINK3_MK
+
+.include "../../security/openssl/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}