summaryrefslogtreecommitdiff
path: root/devel/cvsync
diff options
context:
space:
mode:
authorminskim <minskim>2004-08-12 20:46:21 +0000
committerminskim <minskim>2004-08-12 20:46:21 +0000
commit0672561cd0052d8066bd000e214fce8fa0818e60 (patch)
treef7d7a569000883c9e04f826f5ccb14cb3ca1a48a /devel/cvsync
parentd3b876980c523643095128caff54200909c64067 (diff)
downloadpkgsrc-0672561cd0052d8066bd000e214fce8fa0818e60.tar.gz
Use openssl hash functions on platforms that don't provide native hash
functions.
Diffstat (limited to 'devel/cvsync')
-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}