aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ruby16/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ruby16/Makefile')
-rw-r--r--lang/ruby16/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/lang/ruby16/Makefile b/lang/ruby16/Makefile
index 61ff05fee6e7..704d2e17da09 100644
--- a/lang/ruby16/Makefile
+++ b/lang/ruby16/Makefile
@@ -13,6 +13,10 @@ MASTER_SITE_SUBDIR= ${RUBY_VER}
DISTNAME= ${RUBY_DISTNAME}
DIST_SUBDIR= ruby
+PATCH_SITES= http://www.ruby-lang.org/~knu/
+PATCHFILES= ruby-${RUBY_VERSION}-${RUBY_SNAPSHOTDATE}.patch.gz
+PATCH_DIST_STRIP= -p1
+
MAINTAINER= knu@FreeBSD.org
USE_RUBY= yes
@@ -42,6 +46,7 @@ CONFIGURE_ARGS+= --enable-ipv6
.endif
post-patch:
+ find ${WRKSRC} -name '*.orig' -delete
${RM} -f ${WRKSRC}/ext/gdbm/MANIFEST
${RM} -f ${WRKSRC}/ext/tcltklib/MANIFEST
${RM} -f ${WRKSRC}/ext/tk/MANIFEST