summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/interchange/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/www/interchange/Makefile b/www/interchange/Makefile
index de271d2372cd..609f87435a73 100644
--- a/www/interchange/Makefile
+++ b/www/interchange/Makefile
@@ -11,7 +11,7 @@ PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= http://ftp.icdevgroup.org/interchange/4.8/tar/
-MAINTAINER= netchild@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
BUILD_DEPENDS= ${SITE_PERL}/SQL/Statement.pm:${PORTSDIR}/databases/p5-SQL-Statement
@@ -46,14 +46,18 @@ MAKE_ARGS+= NOCPANINSTALL=1 \
CONFIGURE_ARGS+= force=1
+.if defined(PACKAGE_BUILDING)
+IGNORE="needs a tty at the configure stage"
+.endif
+
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) && !defined(BATCH)
+.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) && !defined(BATCH)
+.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
.endif