summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--math/ruby-math3d/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/math/ruby-math3d/Makefile b/math/ruby-math3d/Makefile
index b1346a1d1402..66b12c86d642 100644
--- a/math/ruby-math3d/Makefile
+++ b/math/ruby-math3d/Makefile
@@ -15,13 +15,14 @@ DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
COMMENT= A Ruby library for mathematics for 3D graphics
-BROKEN= Does not compile
-
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
INSTALL_TARGET= site-install
+pre-patch:
+ cd ${WRKSRC}; ${RUBY} -i -pe 'sub(/\r/, "")' *.[ch]
+
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODDOCDIR}/ja