summaryrefslogtreecommitdiff
path: root/devel/cvsync/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/cvsync/Makefile')
-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}