mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Fix build on systems without a decent version of Perl.
PR: 62397
This commit is contained in:
parent
a99cfb0e25
commit
fb6bb145b6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=100377
@ -132,7 +132,7 @@ post-build:
|
||||
check: build
|
||||
cd ${WRKSRC}; export RUNTESTFLAGS='--target_board ''unix{-pthread}'''; ${GMAKE} -sk check
|
||||
|
||||
post-install:
|
||||
post-install: fake-manpages
|
||||
@(for prog in \
|
||||
${TARGLIB}/cc1 ${TARGLIB}/cc1obj ${TARGLIB}/cc1plus \
|
||||
${TARGLIB}/collect2 ${TARGLIB}/f771 ; \
|
||||
@ -150,11 +150,6 @@ post-install:
|
||||
.endfor
|
||||
${MV} -f ${PREFIX}/bin/g7733 ${PREFIX}/bin/g77-33
|
||||
-${MV} -f ${PREFIX}/man/man1/g7733.1 ${PREFIX}/man/man1/g77-33.1
|
||||
# man pages can only be generated if Perl >= 5.6 is installed, so
|
||||
# fake them on 4.x systems.
|
||||
.for mp in ${_MANPAGES}
|
||||
( ${TEST} -e ${mp} || ${TOUCH} ${TOUCH_FLAGS} ${mp} )
|
||||
.endfor
|
||||
# These libraries are moved from PREFIX/lib to avoid conflicts with
|
||||
# the stock compiler.
|
||||
.for f in libstdc++ libsupc++ libg2c libfrtbegin libobjc ${EXTRA_SHLIB}
|
||||
@ -188,3 +183,10 @@ cklatest:
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
||||
fake-manpages:
|
||||
# man pages can only be generated if Perl >= 5.6 is installed, so
|
||||
# fake them on 4.x systems.
|
||||
.for mp in ${_MANPAGES}
|
||||
( ${TEST} -e ${mp} || ${TOUCH} ${TOUCH_FLAGS} ${mp} )
|
||||
.endfor
|
||||
|
Loading…
Reference in New Issue
Block a user