summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-08-12 20:46:21 +0000
committerminskim <minskim@pkgsrc.org>2004-08-12 20:46:21 +0000
commit828f78807a56f0f358018675b656f1f331bd1f14 (patch)
treef7d7a569000883c9e04f826f5ccb14cb3ca1a48a /devel
parent144c298edf479ce132ff869b0340e882e5a955c6 (diff)
downloadpkgsrc-828f78807a56f0f358018675b656f1f331bd1f14.tar.gz
Use openssl hash functions on platforms that don't provide native hash
functions.
Diffstat (limited to 'devel')
-rw-r--r--devel/cvsync/Makefile10
1 files changed, 9 insertions, 1 deletions
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}