summaryrefslogtreecommitdiff
path: root/mail/libesmtp
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-02-11 02:54:41 +0000
committerxtraeme <xtraeme>2004-02-11 02:54:41 +0000
commit11560100f37f0c66eeafa2627116919bd51c6aa9 (patch)
tree5799b88da220d5c3dc080a1136cda8f3396bb43c /mail/libesmtp
parentcc67adee178f8f6d46f160ab58d713ff316a7f19 (diff)
downloadpkgsrc-11560100f37f0c66eeafa2627116919bd51c6aa9.tar.gz
bl3ify
Diffstat (limited to 'mail/libesmtp')
-rw-r--r--mail/libesmtp/Makefile8
-rw-r--r--mail/libesmtp/buildlink3.mk29
2 files changed, 33 insertions, 4 deletions
diff --git a/mail/libesmtp/Makefile b/mail/libesmtp/Makefile
index 6e4b0f3498f..432f32950cf 100644
--- a/mail/libesmtp/Makefile
+++ b/mail/libesmtp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2004/01/24 13:55:30 grant Exp $
+# $NetBSD: Makefile,v 1.11 2004/02/11 02:54:41 xtraeme Exp $
DISTNAME= libesmtp-1.0.1
PKGREVISION= 1
@@ -12,7 +12,7 @@ MAINTAINER= dolemite@wuli.nu
HOMEPAGE= http://www.stafford.uklinux.net/libesmtp/
COMMENT= Library to manage posting of electronic mail
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
USE_GNU_TOOLS+= make
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
@@ -38,6 +38,6 @@ post-buildlink:
${BUILDLINK_DIR}/include; \
fi
-.include "../../mk/pthread.buildlink2.mk"
-.include "../../security/openssl/buildlink2.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/mail/libesmtp/buildlink3.mk b/mail/libesmtp/buildlink3.mk
new file mode 100644
index 00000000000..e6b85c01d3a
--- /dev/null
+++ b/mail/libesmtp/buildlink3.mk
@@ -0,0 +1,29 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/11 02:54:41 xtraeme Exp $
+#
+# This Makefile fragment is included by packages that use libesmtp.
+#
+# This file was created automatically using createbuildlink-3.1.
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBESMTP_BUILDLINK3_MK:= ${LIBESMTP_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libesmtp
+.endif
+
+.if !empty(LIBESMTP_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= libesmtp
+BUILDLINK_DEPENDS.libesmtp+= libesmtp>=1.0rc1nb1
+BUILDLINK_PKGSRCDIR.libesmtp?= ../../mail/libesmtp
+
+LIBESMTP= -lesmtp
+
+CONFIGURE_ENV+= LIBESMTP="${LIBESMTP}"
+MAKE_ENV+= LIBESMTP="${LIBESMTP}"
+
+.include "../../security/openssl/buildlink3.mk"
+
+.endif # LIBESMTP_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}