Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 May 2015 16:07:15 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r385286 - in head/www: p5-RT-Authen-ExternalAuth p5-RT-Extension-LDAPImport p5-RT-Extension-MandatoryOnTransition
Message-ID:  <201505031607.t43G7F4j062199@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sun May  3 16:07:14 2015
New Revision: 385286
URL: https://svnweb.freebsd.org/changeset/ports/385286

Log:
  Do not try to load rt configuration files before installing
  This allows to package as a user

Modified:
  head/www/p5-RT-Authen-ExternalAuth/Makefile
  head/www/p5-RT-Extension-LDAPImport/Makefile
  head/www/p5-RT-Extension-MandatoryOnTransition/Makefile

Modified: head/www/p5-RT-Authen-ExternalAuth/Makefile
==============================================================================
--- head/www/p5-RT-Authen-ExternalAuth/Makefile	Sun May  3 16:03:31 2015	(r385285)
+++ head/www/p5-RT-Authen-ExternalAuth/Makefile	Sun May  3 16:07:14 2015	(r385286)
@@ -58,7 +58,7 @@ do-configure:
 	    ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//;' Makefile
 
 post-configure:
-	    ${REINPLACE_CMD} "/RTxPlugin/d" ${WRKSRC}/Makefile
+	${REINPLACE_CMD} "/RTxPlugin/d" ${WRKSRC}/Makefile
 
 post-install:
 	${RM} ${STAGEDIR}${PREFIX}/man/auto/RT/Authen/ExternalAuth/.packlist

Modified: head/www/p5-RT-Extension-LDAPImport/Makefile
==============================================================================
--- head/www/p5-RT-Extension-LDAPImport/Makefile	Sun May  3 16:03:31 2015	(r385285)
+++ head/www/p5-RT-Extension-LDAPImport/Makefile	Sun May  3 16:07:14 2015	(r385286)
@@ -22,7 +22,6 @@ NO_ARCH=	yes
 
 USES+=		perl5
 USE_PERL5=	configure
-NEED_ROOT=	yes
 
 OPTIONS_SINGLE=                 RTVERSION
 OPTIONS_SINGLE_RTVERSION=       RT40 RT42
@@ -57,6 +56,9 @@ do-configure:
 	    ${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${SITE_PERL} ./${CONFIGURE_SCRIPT} && \
 	    ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
 
+post-configure:
+	${REINPLACE_CMD} "/RTxPlugin/d" ${WRKSRC}/Makefile
+
 post-install:
 	${RM} ${STAGEDIR}${PREFIX}/man/auto/RT/Extension/LDAPImport/.packlist
 	${RMDIR} -p ${STAGEDIR}${PREFIX}/man/auto/RT/Extension/LDAPImport 2>/dev/null || :

Modified: head/www/p5-RT-Extension-MandatoryOnTransition/Makefile
==============================================================================
--- head/www/p5-RT-Extension-MandatoryOnTransition/Makefile	Sun May  3 16:03:31 2015	(r385285)
+++ head/www/p5-RT-Extension-MandatoryOnTransition/Makefile	Sun May  3 16:07:14 2015	(r385286)
@@ -13,8 +13,6 @@ COMMENT=	Extension to require core and t
 
 LICENSE=	GPLv2
 
-NEED_ROOT=	yes
-
 OPTIONS_SINGLE=                 RTVERSION
 OPTIONS_SINGLE_RTVERSION=       RT40 RT42
 RT40_DESC=                      Install for rt-4.0.x (www/rt40)
@@ -51,6 +49,9 @@ do-configure:
 		${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${SITE_PERL} ./${CONFIGURE_SCRIPT} && \
 		${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
 
+post-configure:
+	${REINPLACE_CMD} "/RTxPlugin/d" ${WRKSRC}/Makefile
+
 post-install:
 	${RM} ${STAGEDIR}${PREFIX}/man/auto/RT/Extension/MandatoryOnTransition/.packlist
 	${RMDIR} -p ${STAGEDIR}${PREFIX}/man/auto/RT/Extension/MandatoryOnTransition 2>/dev/null || :



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505031607.t43G7F4j062199>