1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Create missing empty directory from pkg-plist to avoid a pkg_delete warning.

Make sure that Install exits with 0 (restore previous patch).

No PORTREVISION change needed.
This commit is contained in:
Jimmy Olgeni 2008-11-02 13:50:08 +00:00
parent 78ba134b32
commit a8e1a611fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=222323
4 changed files with 36 additions and 2 deletions

View File

@ -141,11 +141,17 @@ post-install:
# All non-library files.
@cd ${PREFIX} ; ${FIND} lib/erlang/* -type d -empty \
| ${GREP} -v "^lib/erlang/lib" \
| ${SORT} \
| ${SED} -e 's#^#@exec ${MKDIR} %D/#g' \
> ${ERLANG_PLIST}
@cd ${PREFIX} ; ${FIND} lib/erlang/* -type f -o -type l \
| ${GREP} -v "^lib/erlang/man" \
| ${GREP} -v "^lib/erlang/lib" \
| ${SORT} \
> ${ERLANG_PLIST}
>> ${ERLANG_PLIST}
# Stock OTP libraries.

View File

@ -0,0 +1,11 @@
$FreeBSD$
--- erts/etc/common/Install.orig
+++ erts/etc/common/Install
@@ -148,4 +148,4 @@
./misc/format_man_pages $ERL_ROOT
fi
-
+exit 0

View File

@ -141,11 +141,17 @@ post-install:
# All non-library files.
@cd ${PREFIX} ; ${FIND} lib/erlang/* -type d -empty \
| ${GREP} -v "^lib/erlang/lib" \
| ${SORT} \
| ${SED} -e 's#^#@exec ${MKDIR} %D/#g' \
> ${ERLANG_PLIST}
@cd ${PREFIX} ; ${FIND} lib/erlang/* -type f -o -type l \
| ${GREP} -v "^lib/erlang/man" \
| ${GREP} -v "^lib/erlang/lib" \
| ${SORT} \
> ${ERLANG_PLIST}
>> ${ERLANG_PLIST}
# Stock OTP libraries.

View File

@ -0,0 +1,11 @@
$FreeBSD$
--- erts/etc/common/Install.orig
+++ erts/etc/common/Install
@@ -148,4 +148,4 @@
./misc/format_man_pages $ERL_ROOT
fi
-
+exit 0