summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/ruby/Makefile6
-rw-r--r--lang/ruby16/Makefile6
2 files changed, 6 insertions, 6 deletions
diff --git a/lang/ruby/Makefile b/lang/ruby/Makefile
index be0c63a92423..179680a4a980 100644
--- a/lang/ruby/Makefile
+++ b/lang/ruby/Makefile
@@ -47,9 +47,9 @@ CONFIGURE_ARGS+= --enable-ipv6
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
+.for d in Win32API gdbm tcltklib tk
+ ${RM} -rf ${WRKSRC}/ext/${d}
+.endfor
post-install:
strip ${RUBY}
diff --git a/lang/ruby16/Makefile b/lang/ruby16/Makefile
index be0c63a92423..179680a4a980 100644
--- a/lang/ruby16/Makefile
+++ b/lang/ruby16/Makefile
@@ -47,9 +47,9 @@ CONFIGURE_ARGS+= --enable-ipv6
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
+.for d in Win32API gdbm tcltklib tk
+ ${RM} -rf ${WRKSRC}/ext/${d}
+.endfor
post-install:
strip ${RUBY}