mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
Do not try to load rt configuration files before installing
This allows to package as a user
This commit is contained in:
parent
b353e70bf7
commit
7b13a7569a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=385286
@ -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
|
||||
|
@ -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 || :
|
||||
|
@ -13,8 +13,6 @@ COMMENT= Extension to require core and ticket custom fields on status changes
|
||||
|
||||
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 || :
|
||||
|
Loading…
Reference in New Issue
Block a user