aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-RT-Authen-ExternalAuth
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-05-04 00:03:31 +0800
committerbapt <bapt@FreeBSD.org>2015-05-04 00:03:31 +0800
commit8699c17bb2a8e073b6c43cdb7f3fddc6bec2dcf0 (patch)
treead21bd4aaa838781212edf8f19842612506afced /www/p5-RT-Authen-ExternalAuth
parent7b40d4016836ead556e3b0ac6bbc072cfe4df948 (diff)
downloadfreebsd-ports-gnome-8699c17bb2a8e073b6c43cdb7f3fddc6bec2dcf0.tar.gz
freebsd-ports-gnome-8699c17bb2a8e073b6c43cdb7f3fddc6bec2dcf0.tar.zst
freebsd-ports-gnome-8699c17bb2a8e073b6c43cdb7f3fddc6bec2dcf0.zip
Do not try to load rt configuration files before installing
This allows to package as a user
Diffstat (limited to 'www/p5-RT-Authen-ExternalAuth')
-rw-r--r--www/p5-RT-Authen-ExternalAuth/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/p5-RT-Authen-ExternalAuth/Makefile b/www/p5-RT-Authen-ExternalAuth/Makefile
index c06c78547d9f..eb82b42eda7e 100644
--- a/www/p5-RT-Authen-ExternalAuth/Makefile
+++ b/www/p5-RT-Authen-ExternalAuth/Makefile
@@ -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 || :