Unbreak on FreeBSD < 6.0
PR: 106379 (with minor changes) Submitted by: Jonathan Lennox <lennox@cs.columbia.edu>
This commit is contained in:
parent
36b2d886a9
commit
cfd7ec46dc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=178958
1 changed files with 8 additions and 1 deletions
|
@ -29,8 +29,15 @@ MAN1= gm4.1
|
|||
|
||||
EXAMPLESDIR= share/examples/gm4
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 600000
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/makeinfo:${PORTSDIR}/print/texinfo
|
||||
CONFIGURE_ENV+= MAKEINFO=${LOCALBASE}/bin/makeinfo
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${PREFIX}/${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/*.m4 ${PREFIX}/${EXAMPLESDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
Loading…
Reference in a new issue