summaryrefslogtreecommitdiffstats
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, 4 insertions, 1 deletions
diff --git a/lang/ruby16/Makefile b/lang/ruby16/Makefile
index b34e244..9d909c2 100644
--- a/lang/ruby16/Makefile
+++ b/lang/ruby16/Makefile
@@ -47,9 +47,12 @@ CONFIGURE_ARGS+= --enable-ipv6
post-patch:
find ${WRKSRC} -name '*.orig' -delete
-.for d in Win32API gdbm tcltklib tk
+.for d in Win32API
${RM} -rf ${WRKSRC}/ext/${d}
.endfor
+.for d in gdbm tcltklib tk
+ ${MV} ${WRKSRC}/ext/${d} ${WRKDIR}/
+.endfor
post-install:
strip ${RUBY}
OpenPOWER on IntegriCloud