aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-08-14 20:31:48 +0800
committerknu <knu@FreeBSD.org>2003-08-14 20:31:48 +0800
commitedc3361b557723ee59bc5d2842d6113c4218b1ed (patch)
treee18ea2aefe9859723c7b30d54f0dca7947c33e31 /math
parent1328db34c9538a9d668a7b534b090c9b4e9b4434 (diff)
downloadfreebsd-ports-gnome-edc3361b557723ee59bc5d2842d6113c4218b1ed.tar.gz
freebsd-ports-gnome-edc3361b557723ee59bc5d2842d6113c4218b1ed.tar.zst
freebsd-ports-gnome-edc3361b557723ee59bc5d2842d6113c4218b1ed.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.
Diffstat (limited to 'math')
-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