diff options
author | jperkin <jperkin@pkgsrc.org> | 2014-02-20 11:38:14 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2014-02-20 11:38:14 +0000 |
commit | d49152332d3de024af94e3a71399ff9e00e89854 (patch) | |
tree | 82219b5cf13cb7b415c364556ccb6a388553977f | |
parent | 7e530cff063eab55a23bade212008f39b7740166 (diff) | |
download | pkgsrc-d49152332d3de024af94e3a71399ff9e00e89854.tar.gz |
Add -lcrypt on Linux.
-rw-r--r-- | security/crack/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/security/crack/Makefile b/security/crack/Makefile index e4590df00e6..960a04bc215 100644 --- a/security/crack/Makefile +++ b/security/crack/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.30 2012/10/23 18:16:22 asau Exp $ +# $NetBSD: Makefile,v 1.31 2014/02/20 11:38:14 jperkin Exp $ DISTNAME= crack5.0 PKGNAME= crack-5.0 @@ -21,6 +21,12 @@ REPLACE_FILES.xdawg= dict/*/* CHECK_INTERPRETER_SKIP+= share/crack/extra/Dictstats.pl +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "Linux" +MAKE_ENV+= LIBS="-lcrypt" +.endif + pre-configure: @if [ -f /usr/lib/libcrypt.a ]; then \ ${ECHO} "XLIB+= -lcrypt" >> ${WRKSRC}/src/util/Makefile; \ |