svn commit: r407551 - in head/lang: erlang erlang-runtime15 erlang-runtime16 erlang-runtime17 erlang-runtime18
Jimmy Olgeni
olgeni at FreeBSD.org
Sat Jan 30 20:24:20 UTC 2016
Author: olgeni
Date: Sat Jan 30 20:24:18 2016
New Revision: 407551
URL: https://svnweb.freebsd.org/changeset/ports/407551
Log:
Remove unnecessary empty directories from Erlang's plists.
Modified:
head/lang/erlang-runtime15/Makefile
head/lang/erlang-runtime16/Makefile
head/lang/erlang-runtime17/Makefile
head/lang/erlang-runtime18/Makefile
head/lang/erlang/Makefile
Modified: head/lang/erlang-runtime15/Makefile
==============================================================================
--- head/lang/erlang-runtime15/Makefile Sat Jan 30 20:20:50 2016 (r407550)
+++ head/lang/erlang-runtime15/Makefile Sat Jan 30 20:24:18 2016 (r407551)
@@ -204,11 +204,7 @@ post-install:
.if ! ${PORT_OPTIONS:MWX}
${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/wx-*
.endif
-
- @cd ${STAGEDIR}${PREFIX}; ${FIND} lib/${ERLANG_LIB}/* -type d -empty \
- | ${SORT} \
- | ${SED} -e 's#^#@dir #g' \
- > ${TMPPLIST}
+ ${FIND} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/* -type d -empty -delete
@cd ${STAGEDIR}${PREFIX}; ${FIND} lib/${ERLANG_LIB}/* -type f -o -type l \
| ${SORT} \
Modified: head/lang/erlang-runtime16/Makefile
==============================================================================
--- head/lang/erlang-runtime16/Makefile Sat Jan 30 20:20:50 2016 (r407550)
+++ head/lang/erlang-runtime16/Makefile Sat Jan 30 20:24:18 2016 (r407551)
@@ -204,11 +204,7 @@ post-install:
.if ! ${PORT_OPTIONS:MWX}
${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/wx-*
.endif
-
- @cd ${STAGEDIR}${PREFIX}; ${FIND} lib/${ERLANG_LIB}/* -type d -empty \
- | ${SORT} \
- | ${SED} -e 's#^#@dir #g' \
- > ${TMPPLIST}
+ ${FIND} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/* -type d -empty -delete
@cd ${STAGEDIR}${PREFIX}; ${FIND} lib/${ERLANG_LIB}/* -type f -o -type l \
| ${SORT} \
Modified: head/lang/erlang-runtime17/Makefile
==============================================================================
--- head/lang/erlang-runtime17/Makefile Sat Jan 30 20:20:50 2016 (r407550)
+++ head/lang/erlang-runtime17/Makefile Sat Jan 30 20:24:18 2016 (r407551)
@@ -264,11 +264,7 @@ post-install:
.if ! ${PORT_OPTIONS:MWX}
${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/wx-*
.endif
-
- @cd ${STAGEDIR}${PREFIX}; ${FIND} lib/${ERLANG_LIB}/* -type d -empty \
- | ${SORT} \
- | ${SED} -e 's#^#@dir #g' \
- > ${TMPPLIST}
+ ${FIND} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/* -type d -empty -delete
@cd ${STAGEDIR}${PREFIX}; ${FIND} lib/${ERLANG_LIB}/* -type f -o -type l \
| ${SORT} \
Modified: head/lang/erlang-runtime18/Makefile
==============================================================================
--- head/lang/erlang-runtime18/Makefile Sat Jan 30 20:20:50 2016 (r407550)
+++ head/lang/erlang-runtime18/Makefile Sat Jan 30 20:24:18 2016 (r407551)
@@ -224,11 +224,7 @@ post-install:
.if ! ${PORT_OPTIONS:MWX}
${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/wx-*
.endif
-
- @cd ${STAGEDIR}${PREFIX}; ${FIND} lib/${ERLANG_LIB}/* -type d -empty \
- | ${SORT} \
- | ${SED} -e 's#^#@dir #g' \
- > ${TMPPLIST}
+ ${FIND} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/* -type d -empty -delete
@cd ${STAGEDIR}${PREFIX}; ${FIND} lib/${ERLANG_LIB}/* -type f -o -type l \
| ${SORT} \
Modified: head/lang/erlang/Makefile
==============================================================================
--- head/lang/erlang/Makefile Sat Jan 30 20:20:50 2016 (r407550)
+++ head/lang/erlang/Makefile Sat Jan 30 20:24:18 2016 (r407551)
@@ -250,14 +250,10 @@ post-install:
.if ! ${PORT_OPTIONS:MWX}
${RM} -r ${STAGEDIR}${PREFIX}/lib/erlang/lib/wx-*
.endif
+ ${FIND} ${STAGEDIR}${PREFIX}/lib/${ERLANG_LIB}/* -type d -empty -delete
${LN} -s ../lib/erlang/lib/snmp-${SNMP_VSN}/bin/snmpc ${STAGEDIR}${PREFIX}/bin/snmpc
- @cd ${STAGEDIR}${PREFIX}; ${FIND} lib/${ERLANG_LIB}/* -type d -empty \
- | ${SORT} \
- | ${SED} -e 's#^#@dir #g' \
- >> ${TMPPLIST}
-
@cd ${STAGEDIR}${PREFIX}; ${FIND} lib/${ERLANG_LIB}/* -type f -o -type l \
| ${SORT} \
>> ${TMPPLIST}
More information about the svn-ports-all
mailing list