pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/cvsync Use openssl hash functions on platforms t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/85667282b8ff
branches:  trunk
changeset: 479341:85667282b8ff
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Thu Aug 12 20:46:21 2004 +0000

description:
Use openssl hash functions on platforms that don't provide native hash
functions.

diffstat:

 devel/cvsync/Makefile |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 32ba5ddabba9 -r 85667282b8ff devel/cvsync/Makefile
--- a/devel/cvsync/Makefile     Thu Aug 12 20:38:35 2004 +0000
+++ b/devel/cvsync/Makefile     Thu Aug 12 20:46:21 2004 +0000
@@ -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 @@
 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}



Home | Main Index | Thread Index | Old Index