pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/crack Only link with libcrypt if we have a li...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8dd08ef224fe
branches: trunk
changeset: 393867:8dd08ef224fe
user: agc <agc%pkgsrc.org@localhost>
date: Fri May 29 00:00:20 2009 +0000
description:
Only link with libcrypt if we have a libcrypt - makes this package build
on Darwin.
diffstat:
security/crack/Makefile | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 9288dbbd1225 -r 8dd08ef224fe security/crack/Makefile
--- a/security/crack/Makefile Thu May 28 23:27:12 2009 +0000
+++ b/security/crack/Makefile Fri May 29 00:00:20 2009 +0000
@@ -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 @@
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 \
Home |
Main Index |
Thread Index |
Old Index