From edc3361b557723ee59bc5d2842d6113c4218b1ed Mon Sep 17 00:00:00 2001 From: knu Date: Thu, 14 Aug 2003 12:31:48 +0000 Subject: 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. --- math/ruby-math3d/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'math/ruby-math3d') 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 -- cgit