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:
parent
78ba134b32
commit
a8e1a611fe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=222323
@ -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.
|
||||
|
||||
|
11
lang/erlang/files/patch-erts_etc_common_Install
Normal file
11
lang/erlang/files/patch-erts_etc_common_Install
Normal 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
|
@ -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.
|
||||
|
||||
|
11
lang/erlang14/files/patch-erts_etc_common_Install
Normal file
11
lang/erlang14/files/patch-erts_etc_common_Install
Normal 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
|
Loading…
Reference in New Issue
Block a user