BROKEN on !i386: Does not compile
This commit is contained in:
parent
e6ad528924
commit
fd241a2593
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=101815
@ -24,6 +24,12 @@ INSTALL_TARGET= site-install
|
||||
DOCS= README
|
||||
EXAMPLES= examples/*.rb test*.rb
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} != "i386"
|
||||
BROKEN= "Does not compile on !i386"
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
${RUBY} -i -pe 'gsub /-ansi\b/, ""' ${WRKSRC}/${RUBY_EXTCONF}
|
||||
|
||||
@ -39,4 +45,4 @@ post-install:
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -20,6 +20,12 @@ USE_RUBY_EXTCONF= yes
|
||||
|
||||
INSTALL_TARGET= site-install
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} != "i386"
|
||||
BROKEN= "Does not compile on !i386"
|
||||
.endif
|
||||
|
||||
pre-patch:
|
||||
cd ${WRKSRC}; ${RUBY} -i -pe 'sub(/\r/, "")' *.[ch]
|
||||
|
||||
@ -30,4 +36,4 @@ post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/manual.jis ${RUBY_MODDOCDIR}/ja/
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user