Create empty directories from pkg-plist.
This commit is contained in:
parent
be6d1897da
commit
9eb6a91072
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=127604
4 changed files with 14 additions and 0 deletions
|
@ -142,6 +142,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'; \
|
||||
|
|
|
@ -4,6 +4,8 @@ bin/erlc
|
|||
@comment Insert PLIST.lib-erlang here
|
||||
@comment -=[ begin PLIST.lib-erlang ]=-
|
||||
@comment -=[ end PLIST.lib-erlang ]=-
|
||||
@exec mkdir %D/lib/erlang/erts-5.4.3/man
|
||||
@exec mkdir %D/lib/erlang/usr/lib
|
||||
@dirrm lib/erlang/man/man6
|
||||
@dirrm lib/erlang/man/man4
|
||||
@dirrm lib/erlang/man/man3
|
||||
|
|
|
@ -142,6 +142,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'; \
|
||||
|
|
|
@ -4,6 +4,8 @@ bin/erlc
|
|||
@comment Insert PLIST.lib-erlang here
|
||||
@comment -=[ begin PLIST.lib-erlang ]=-
|
||||
@comment -=[ end PLIST.lib-erlang ]=-
|
||||
@exec mkdir %D/lib/erlang/erts-5.4.3/man
|
||||
@exec mkdir %D/lib/erlang/usr/lib
|
||||
@dirrm lib/erlang/man/man6
|
||||
@dirrm lib/erlang/man/man4
|
||||
@dirrm lib/erlang/man/man3
|
||||
|
|
Loading…
Reference in a new issue