mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
don't install perl stuff when WITHOUT_PERL is set - even when perl is installed
PR: ports/80675 Approved by: maintainer timeout (23 days)
This commit is contained in:
parent
55ce694178
commit
4b7702b014
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=136320
@ -236,14 +236,17 @@ post-configure:
|
||||
@${FIND} ${WRKSRC} -name Makefile | \
|
||||
${XARGS} ${REINPLACE_CMD} -E -e '/^INSTALL[ ]+=/s|$$| -m 755|'
|
||||
|
||||
.if !defined(WITHOUT_PERL)
|
||||
|
||||
post-build:
|
||||
.if !defined(WITHOUT_PERL)
|
||||
${FIND} ${WRKSRC}/perl -name Makefile | \
|
||||
${XARGS} ${REINPLACE_CMD} -E -e '\
|
||||
${XARGS} ${REINPLACE_CMD} -E -e '\
|
||||
s!^(PREFIX) = .*!\1 = ${PREFIX}!; \
|
||||
s!^(INSTALLMAN3DIR) = .*!\1 = ${MAN3PERLPREFIX}/man/man3!; \
|
||||
s! doc_(perl|site|\$$\(INSTALLDIRS\))_install$$!!; \
|
||||
'
|
||||
.else
|
||||
${REINPLACE_CMD} -e 's| perlinstall||' ${WRKSRC}/Makefile
|
||||
.endif
|
||||
|
||||
post-install: strip-files install-startup-files install-config-files install-doc-files display-message
|
||||
|
@ -236,14 +236,17 @@ post-configure:
|
||||
@${FIND} ${WRKSRC} -name Makefile | \
|
||||
${XARGS} ${REINPLACE_CMD} -E -e '/^INSTALL[ ]+=/s|$$| -m 755|'
|
||||
|
||||
.if !defined(WITHOUT_PERL)
|
||||
|
||||
post-build:
|
||||
.if !defined(WITHOUT_PERL)
|
||||
${FIND} ${WRKSRC}/perl -name Makefile | \
|
||||
${XARGS} ${REINPLACE_CMD} -E -e '\
|
||||
${XARGS} ${REINPLACE_CMD} -E -e '\
|
||||
s!^(PREFIX) = .*!\1 = ${PREFIX}!; \
|
||||
s!^(INSTALLMAN3DIR) = .*!\1 = ${MAN3PERLPREFIX}/man/man3!; \
|
||||
s! doc_(perl|site|\$$\(INSTALLDIRS\))_install$$!!; \
|
||||
'
|
||||
.else
|
||||
${REINPLACE_CMD} -e 's| perlinstall||' ${WRKSRC}/Makefile
|
||||
.endif
|
||||
|
||||
post-install: strip-files install-startup-files install-config-files install-doc-files display-message
|
||||
|
@ -236,14 +236,17 @@ post-configure:
|
||||
@${FIND} ${WRKSRC} -name Makefile | \
|
||||
${XARGS} ${REINPLACE_CMD} -E -e '/^INSTALL[ ]+=/s|$$| -m 755|'
|
||||
|
||||
.if !defined(WITHOUT_PERL)
|
||||
|
||||
post-build:
|
||||
.if !defined(WITHOUT_PERL)
|
||||
${FIND} ${WRKSRC}/perl -name Makefile | \
|
||||
${XARGS} ${REINPLACE_CMD} -E -e '\
|
||||
${XARGS} ${REINPLACE_CMD} -E -e '\
|
||||
s!^(PREFIX) = .*!\1 = ${PREFIX}!; \
|
||||
s!^(INSTALLMAN3DIR) = .*!\1 = ${MAN3PERLPREFIX}/man/man3!; \
|
||||
s! doc_(perl|site|\$$\(INSTALLDIRS\))_install$$!!; \
|
||||
'
|
||||
.else
|
||||
${REINPLACE_CMD} -e 's| perlinstall||' ${WRKSRC}/Makefile
|
||||
.endif
|
||||
|
||||
post-install: strip-files install-startup-files install-config-files install-doc-files display-message
|
||||
|
Loading…
Reference in New Issue
Block a user