aboutsummaryrefslogtreecommitdiff
path: root/www/interchange/Makefile
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2003-12-10 12:27:31 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2003-12-10 12:27:31 +0000
commitc5ffe5b7a2a62ee6988f04215ac00373e972f771 (patch)
tree6cd6e4ff85f873b19a48a9aa99ee3c37ea85867c /www/interchange/Makefile
parent4b49e6d3f86c231a20103f20d6b303cc0d40fd40 (diff)
downloadports-c5ffe5b7a2a62ee6988f04215ac00373e972f771.tar.gz
ports-c5ffe5b7a2a62ee6988f04215ac00373e972f771.zip
Notes
Diffstat (limited to 'www/interchange/Makefile')
-rw-r--r--www/interchange/Makefile6
1 files 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