summaryrefslogtreecommitdiff
path: root/security/crack/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/crack/Makefile')
-rw-r--r--security/crack/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/security/crack/Makefile b/security/crack/Makefile
index 54061d17dfe..f9e6cbdbc21 100644
--- a/security/crack/Makefile
+++ b/security/crack/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2009/05/01 13:43:48 zafer Exp $
+# $NetBSD: Makefile,v 1.25 2009/05/29 00:00:20 agc Exp $
DISTNAME= crack5.0
PKGNAME= crack-5.0
@@ -23,7 +23,9 @@ REPLACE_FILES.xdawg= dict/*/*
CHECK_INTERPRETER_SKIP+= share/crack/extra/Dictstats.pl
pre-configure:
- @${ECHO} "XLIB+= -lcrypt" >> ${WRKSRC}/src/util/Makefile
+ @if [ -f /usr/lib/libcrypt.a ]; then \
+ ${ECHO} "XLIB+= -lcrypt" >> ${WRKSRC}/src/util/Makefile; \
+ fi
pre-build:
@(if [ ! -f /usr/share/dict/words ];then \