From 11560100f37f0c66eeafa2627116919bd51c6aa9 Mon Sep 17 00:00:00 2001 From: xtraeme Date: Wed, 11 Feb 2004 02:54:41 +0000 Subject: bl3ify --- mail/libesmtp/Makefile | 8 ++++---- mail/libesmtp/buildlink3.mk | 29 +++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 4 deletions(-) create mode 100644 mail/libesmtp/buildlink3.mk (limited to 'mail/libesmtp') 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/+$//} -- cgit v1.2.3