summaryrefslogtreecommitdiff
path: root/math/ruby-math3d
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2003-08-14 12:31:48 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2003-08-14 12:31:48 +0000
commit41bd72cbcb75932df370d340998336a929806a60 (patch)
tree089f9b4da819788e02500940d21f139dae893e15 /math/ruby-math3d
parentUpdate to 0.14. (diff)
Unbreak by converting CR+LF to LF, as gcc does not seem to be tolerant
of CR before LF when it comes to line continuation.
Notes
Notes: svn path=/head/; revision=86934
Diffstat (limited to 'math/ruby-math3d')
-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