From c7ada4b04617857e3fc8a738d5fac59197712c75 Mon Sep 17 00:00:00 2001 From: jlam Date: Thu, 11 Mar 2004 07:25:10 +0000 Subject: With buildlink3, native header and libraries aren't symlinked into ${BUILDLINK_DIR}, so ${BUILDLINK_DIR}/include/openssl/des.h may not exist. Instead, refer to ${SSLBASE}/include/openssl/des.h. --- mail/libesmtp/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'mail/libesmtp') diff --git a/mail/libesmtp/Makefile b/mail/libesmtp/Makefile index 3d07654322c..06aa307b46b 100644 --- a/mail/libesmtp/Makefile +++ b/mail/libesmtp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2004/02/14 17:21:44 jlam Exp $ +# $NetBSD: Makefile,v 1.13 2004/03/11 07:25:10 jlam Exp $ DISTNAME= libesmtp-1.0.1 PKGREVISION= 1 @@ -20,6 +20,9 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS+= --enable-all CONFIGURE_ARGS+= --disable-isoc +.include "../../security/openssl/buildlink3.mk" +.include "../../mk/pthread.buildlink3.mk" + # XXX Evil hack to deal with the openssl/des.h interface change # between 0.96 and 0.97 # This pkg needs the old API. It includes (by patch). @@ -30,12 +33,11 @@ CONFIGURE_ARGS+= --disable-isoc # b) Everything else - we have an old openssl or a pkg version # which is backward-compatible. Create a symlink to find # as . +# post-buildlink: if [ ! -f /usr/include/des.h ]; then \ - ${LN} -s ${BUILDLINK_DIR}/include/openssl/des.h \ + ${LN} -s ${SSLBASE}/include/openssl/des.h \ ${BUILDLINK_DIR}/include; \ fi -.include "../../mk/pthread.buildlink3.mk" -.include "../../security/openssl/buildlink3.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3