diff options
Diffstat (limited to 'lang/erlang/Makefile')
-rw-r--r-- | lang/erlang/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile index e2bfffe027b..1e811d516cc 100644 --- a/lang/erlang/Makefile +++ b/lang/erlang/Makefile @@ -143,6 +143,11 @@ post-install: # Stock OTP library directories. @for LIBRARY in ${OTP_LIBS}; do \ + cd ${PREFIX} ; ${FIND} lib/erlang/lib/$${LIBRARY} -type d -empty \ + | ${SED} -e 's#^#@exec mkdir %D/#g'; \ + done | ${SORT} >> ${WRKDIR}/PLIST.lib-erlang + + @for LIBRARY in ${OTP_LIBS}; do \ cd ${PREFIX} ; ${FIND} lib/erlang/lib/$${LIBRARY} -type d \ | ${SED} -e 's/^/@dirrm /g'; \ done | ${SORT} -r >> ${WRKDIR}/PLIST.lib-erlang |