diff options
author | jlam <jlam> | 2004-03-11 07:25:10 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-03-11 07:25:10 +0000 |
commit | c7ada4b04617857e3fc8a738d5fac59197712c75 (patch) | |
tree | 22d6eedcb30880ae763d9375228083e2c67c417a /mail | |
parent | 8ee553cc8c6d77db4918636647798563b6dba9f6 (diff) | |
download | pkgsrc-c7ada4b04617857e3fc8a738d5fac59197712c75.tar.gz |
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.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/libesmtp/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
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 <des.h> (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 # <openssl/des.h> as <des.h>. +# 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" |