diff options
author | ache <ache@FreeBSD.org> | 1996-03-25 07:04:17 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1996-03-25 07:04:17 +0800 |
commit | c0fce0462be586e9fab96bf230c0a45d5a61b34d (patch) | |
tree | 31e29cbe88f91192c97dfac5758ca4de7007e62e | |
parent | db1221b73dfbf9c81b7ead244cb0aa5d06c5395f (diff) | |
download | freebsd-ports-gnome-c0fce0462be586e9fab96bf230c0a45d5a61b34d.tar.gz freebsd-ports-gnome-c0fce0462be586e9fab96bf230c0a45d5a61b34d.tar.zst freebsd-ports-gnome-c0fce0462be586e9fab96bf230c0a45d5a61b34d.zip |
Auto-sense installed perl & wish
-rw-r--r-- | security/ssh/Makefile | 10 | ||||
-rw-r--r-- | security/ssh2/Makefile | 10 |
2 files changed, 14 insertions, 6 deletions
diff --git a/security/ssh/Makefile b/security/ssh/Makefile index eca51694af64..3b8935fcbf9c 100644 --- a/security/ssh/Makefile +++ b/security/ssh/Makefile @@ -3,7 +3,7 @@ # Date created: 30 Jul 1995 # Whom: torstenb@FreeBSD.ORG # -# $Id: Makefile,v 1.18 1996/03/21 14:44:48 ache Exp $ +# $Id: Makefile,v 1.19 1996/03/23 23:36:32 ache Exp $ # # Maximal ssh package requires YES values for # USE_PERL, USE_WISH, USE_TCPWRAP @@ -89,7 +89,9 @@ post-install: # Following stuff must be after <bsd.port.mk> to expand exists() properly -.if defined(USE_WISH) && ${USE_WISH} == YES +.if defined(USE_WISH) && ${USE_WISH} == YES || \ + (exists(${PREFIX}/bin/wish4.0) || exists(${PREFIX}/bin/wish)) && \ + (!defined(USE_WISH) || ${USE_WISH} != NO) .if exists(${PREFIX}/bin/wish4.0) BUILD_DEPENDS+= wish4.0:${PORTSDIR}/x11/tk4 CONFIGURE_ENV+= WISH=${PREFIX}/bin/wish4.0 @@ -101,7 +103,9 @@ CONFIGURE_ENV+= WISH=${PREFIX}/bin/wish CONFIGURE_ENV+= WISH=/replace_it_with_WISH_path .endif -.if defined(USE_PERL) && ${USE_PERL} == YES +.if defined(USE_PERL) && ${USE_PERL} == YES || \ + exists(${PREFIX}/bin/perl5.002) && \ + (!defined(USE_PERL) || ${USE_PERL} != NO) BUILD_DEPENDS+= perl5.002:${PORTSDIR}/lang/perl5 CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl5.002 .else diff --git a/security/ssh2/Makefile b/security/ssh2/Makefile index eca51694af64..3b8935fcbf9c 100644 --- a/security/ssh2/Makefile +++ b/security/ssh2/Makefile @@ -3,7 +3,7 @@ # Date created: 30 Jul 1995 # Whom: torstenb@FreeBSD.ORG # -# $Id: Makefile,v 1.18 1996/03/21 14:44:48 ache Exp $ +# $Id: Makefile,v 1.19 1996/03/23 23:36:32 ache Exp $ # # Maximal ssh package requires YES values for # USE_PERL, USE_WISH, USE_TCPWRAP @@ -89,7 +89,9 @@ post-install: # Following stuff must be after <bsd.port.mk> to expand exists() properly -.if defined(USE_WISH) && ${USE_WISH} == YES +.if defined(USE_WISH) && ${USE_WISH} == YES || \ + (exists(${PREFIX}/bin/wish4.0) || exists(${PREFIX}/bin/wish)) && \ + (!defined(USE_WISH) || ${USE_WISH} != NO) .if exists(${PREFIX}/bin/wish4.0) BUILD_DEPENDS+= wish4.0:${PORTSDIR}/x11/tk4 CONFIGURE_ENV+= WISH=${PREFIX}/bin/wish4.0 @@ -101,7 +103,9 @@ CONFIGURE_ENV+= WISH=${PREFIX}/bin/wish CONFIGURE_ENV+= WISH=/replace_it_with_WISH_path .endif -.if defined(USE_PERL) && ${USE_PERL} == YES +.if defined(USE_PERL) && ${USE_PERL} == YES || \ + exists(${PREFIX}/bin/perl5.002) && \ + (!defined(USE_PERL) || ${USE_PERL} != NO) BUILD_DEPENDS+= perl5.002:${PORTSDIR}/lang/perl5 CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl5.002 .else |