aboutsummaryrefslogtreecommitdiff
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
parentc811ec19ef96d2891bcde5fd92675ce74f7b5038 (diff)
downloadports-41bd72cbcb75932df370d340998336a929806a60.tar.gz
ports-41bd72cbcb75932df370d340998336a929806a60.zip
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
-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