forked from Lainports/freebsd-ports
- Fix compilation with gcc 4.2
- Note: testfile still fails, but does exactly the same with old gcc might be a broken test - leaving this to somebody with ruby-foo
This commit is contained in:
parent
e819d623ec
commit
d91c0633d7
1 changed files with 5 additions and 7 deletions
|
|
@ -27,6 +27,10 @@ INSTALL_TARGET= site-install
|
|||
|
||||
DOCS_EN= ChangeLog README TODO
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's/MCRYPT..(void..)/void, /' \
|
||||
${WRKSRC}/ruby-mcrypt.c
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
||||
|
|
@ -37,10 +41,4 @@ post-install:
|
|||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 700042
|
||||
BROKEN= Does not compile with GCC 4.2
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue