pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/libesmtp With buildlink3, native header and libra...
details: https://anonhg.NetBSD.org/pkgsrc/rev/19a0cb3d5859
branches: trunk
changeset: 470651:19a0cb3d5859
user: jlam <jlam%pkgsrc.org@localhost>
date: Thu Mar 11 07:25:10 2004 +0000
description:
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:
mail/libesmtp/Makefile | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r cabc2ad5ccbd -r 19a0cb3d5859 mail/libesmtp/Makefile
--- a/mail/libesmtp/Makefile Thu Mar 11 07:17:47 2004 +0000
+++ b/mail/libesmtp/Makefile Thu Mar 11 07:25:10 2004 +0000
@@ -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 @@
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 @@
# 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"
Home |
Main Index |
Thread Index |
Old Index