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/082317e4f131
branches: trunk
changeset: 559719:082317e4f131
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 8cdd9940a2fc -r 082317e4f131 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