Skip to content

Commit

Permalink
rb-password: tell configure where to find the cracklib dictionary (ht…
Browse files Browse the repository at this point in the history
  • Loading branch information
jmroot committed Oct 4, 2008
1 parent eefb818 commit 8bcff7d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ruby/rb-password/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
}
Expand Down

0 comments on commit 8bcff7d

Please sign in to comment.