From c5ffe5b7a2a62ee6988f04215ac00373e972f771 Mon Sep 17 00:00:00 2001 From: Alexander Leidinger Date: Wed, 10 Dec 2003 12:27:31 +0000 Subject: Ooops... instead of removing the perl 5.8 test completely revert to check for perl 5.6.1 or better. [1] Remove -DCHECK_FOR_IC_USER from MAKE_ARGS, it's not needed there. Noticed by: erwin [1] --- www/interchange/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/www/interchange/Makefile b/www/interchange/Makefile index c078f1a084da..a07052d8977f 100644 --- a/www/interchange/Makefile +++ b/www/interchange/Makefile @@ -42,8 +42,7 @@ MAKE_ARGS+= NOCPANINSTALL=1 \ INSTALLARCHLIB=${PREFIX}/interchange \ INSTALLPRIVLIB=${PREFIX}/interchange/lib/ \ INSTALLMAN1DIR=${PREFIX}/man/man1 \ - INSTALLMAN3DIR=${PREFIX}/man/man7 \ - -DCHECK_FOR_IC_USER + INSTALLMAN3DIR=${PREFIX}/man/man7 CONFIGURE_ARGS+= force=1 @@ -55,6 +54,9 @@ post-patch: @${REINPLACE_CMD} -e "s:You are now ready to cd to \$$realdir:You are now ready to cd to ${PREFIX}:g" ${WRKSRC}/Makefile.PL pre-configure: +.if !defined(USE_THIS_PERL) + @[ ! "${PERL_VER}" \< "5.6.1" ] || ( ${ECHO_CMD} -e "You use perl ${PERL_VER}, interchange should be used with 5.6.1 or better,\njust install the newer perl from ports and run 'use.perl port', this will\nmake the new perl the default perl. If you already have some perl modules\ninstalled for your old perl, you have to reinstall them for the new perl.\n\nIf you absolutely want to try to run interchange with perl ${PERL_VER},\nyou have to add '-DUSE_THIS_PERL' as an option for 'make'.\n" ; exit 1 ) +.endif .if !defined(CHECK_FOR_IC_USER) @${ECHO_CMD} -e "This port needs a specific user account ('interch') at configure time.\n\nIf it is ok for you to add a new user at configure time of this port\nadd '-DCHECK_FOR_IC_USER' as an option for 'make'.\n" @exit 1 -- cgit v1.2.3