From 0672561cd0052d8066bd000e214fce8fa0818e60 Mon Sep 17 00:00:00 2001 From: minskim Date: Thu, 12 Aug 2004 20:46:21 +0000 Subject: Use openssl hash functions on platforms that don't provide native hash functions. --- devel/cvsync/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'devel/cvsync/Makefile') diff --git a/devel/cvsync/Makefile b/devel/cvsync/Makefile index 3b267f7deab..79969c771e2 100644 --- a/devel/cvsync/Makefile +++ b/devel/cvsync/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.66 2004/08/12 20:37:28 minskim Exp $ +# $NetBSD: Makefile,v 1.67 2004/08/12 20:46:21 minskim Exp $ # DISTNAME= cvsync-0.24.16 @@ -25,6 +25,14 @@ MAKE_ENV+= PTHREAD_PREFIX=${BUILDLINK_PREFIX.pthread} EGDIR= ${PREFIX}/share/examples/cvsync CONF_FILES+= ${EGDIR}/cvsync.conf ${PKG_SYSCONFDIR}/cvsync.conf +.include "../../mk/bsd.prefs.mk" + +.ifdef ${OPSYS} == "AIX" || ${OPSYS} == "BSDOS" || ${OPSYS} == "Darwin" || \ + ${OPSYS} == "Linux" || ${OPSYS} == "SunOS" +MAKE_ENV+= HASH_TYPE="openssl" +.include "../../security/openssl/buildlink3.mk" +.endif + post-install: ${INSTALL_DATA_DIR} ${EGDIR} ${INSTALL_DATA} ${WRKSRC}/samples/cvsync.conf ${EGDIR} -- cgit v1.2.3