Skip to content

Commit

Permalink
Make the port depend on DP's expect program only for darwin 6 and 7.
Browse files Browse the repository at this point in the history
Tiger has a good enough expect (5.40) for RANCID and the one from DP is a
kludgy and failure prone install.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@17159 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Mark Duling committed Mar 25, 2006
1 parent ff6d9b8 commit ba8419c
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions net/rancid/Portfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $Id: Portfile,v 1.3 2006/01/25 15:16:48 markd Exp $
# $Id: Portfile,v 1.4 2006/03/25 01:22:18 markd Exp $

PortSystem 1.0

Expand All @@ -21,8 +21,16 @@ master_sites ftp://ftp.shrubbery.net/pub/rancid/

checksums md5 b188595e528515b4f87078f63936d355

depends_lib port:expect \
port:openssl
depends_lib port:openssl

# RANCID needs at least expect version 5.40 and only darwin 8 meets the requirement
platform darwin 7 {
depends_lib-append port:expect
}

platform darwin 6 {
depends_lib-append port:expect
}

pre-configure {
reinplace "s|@bindir@|${destroot}@bindir@|g" \
Expand Down

0 comments on commit ba8419c

Please sign in to comment.