svn commit: r385285 - head/www/p5-RT-Authen-ExternalAuth
Baptiste Daroussin
bapt at FreeBSD.org
Sun May 3 16:03:32 UTC 2015
Author: bapt
Date: Sun May 3 16:03:31 2015
New Revision: 385285
URL: https://svnweb.freebsd.org/changeset/ports/385285
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
Modified: head/www/p5-RT-Authen-ExternalAuth/Makefile
==============================================================================
--- head/www/p5-RT-Authen-ExternalAuth/Makefile Sun May 3 15:57:39 2015 (r385284)
+++ head/www/p5-RT-Authen-ExternalAuth/Makefile Sun May 3 16:03:31 2015 (r385285)
@@ -22,7 +22,6 @@ NO_ARCH= yes
USES+= perl5
USE_PERL5= configure
-NEED_ROOT= yes
OPTIONS_SINGLE= RTVERSION
OPTIONS_SINGLE_RTVERSION= RT40 RT42
@@ -58,6 +57,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/Authen/ExternalAuth/.packlist
${RMDIR} -p ${STAGEDIR}${PREFIX}/man/auto/RT/Authen/ExternalAuth 2>/dev/null || :
More information about the svn-ports-all
mailing list