Skip to content
Permalink
Browse files

rb-password: tell configure where to find the cracklib dictionary (ht…

  • Loading branch information
jmroot committed Oct 4, 2008
1 parent eefb818 commit 8bcff7d1cd7c87f5503ed06b458fd1314a57e851
Showing with 3 additions and 1 deletion.
  1. +3 −1 ruby/rb-password/Portfile
@@ -20,7 +20,7 @@ master_sites http://www.caliban.org/files/ruby/
checksums md5 6a33fb9dd039f07fe2b81a0d8eed7f6f
platforms darwin

depends_lib-append lib:libcrack.2:cracklib \
depends_lib-append port:cracklib \
port:rb-termios

patchfiles patch-tc_password.rb.diff
@@ -31,6 +31,8 @@ post-patch {
reinplace "s|pw_dict|cracklib/&|g" ${worksrcpath}/extconf.rb
}

configure.args-append --with-crack-dict=${prefix}/share/cracklib

post-build {
system "cd ${worksrcpath} && ${ruby.rdoc} -x CVS rbcrack.c"
}

0 comments on commit 8bcff7d

Please sign in to comment.
You can’t perform that action at this time.