Commit c90aa837 authored by Franco Fichtner's avatar Franco Fichtner

pkg: sort plist, file systems getting in the way

parent 54cb00d7
...@@ -221,17 +221,18 @@ bootstrap: force ...@@ -221,17 +221,18 @@ bootstrap: force
CORE_REPOSITORY=${CORE_REPOSITORY} CORE_REPOSITORY=${CORE_REPOSITORY}
plist: force plist: force
@${MAKE} -C ${.CURDIR}/contrib plist @(${MAKE} -C ${.CURDIR}/contrib plist && \
@${MAKE} -C ${.CURDIR}/src plist ${MAKE} -C ${.CURDIR}/src plist) | sort
plist-fix: force plist-fix: force
@${MAKE} DESTDIR=${DESTDIR} plist > ${.CURDIR}/plist @${MAKE} DESTDIR=${DESTDIR} plist | sort > ${.CURDIR}/plist
plist-check: force plist-check: force
@${MAKE} DESTDIR=${DESTDIR} plist > ${WRKDIR}/plist @${MAKE} DESTDIR=${DESTDIR} plist > ${WRKDIR}/plist.new
@if ! diff -uq ${.CURDIR}/plist ${WRKDIR}/plist > /dev/null ; then \ @cat ${.CURDIR}/plist > ${WRKDIR}/plist.old
@if ! diff -uq ${WRKDIR}/plist.old ${WRKDIR}/plist.new > /dev/null ; then \
echo ">>> Package file lists do not match. Please run 'make plist-fix'." >&2; \ echo ">>> Package file lists do not match. Please run 'make plist-fix'." >&2; \
diff -u ${.CURDIR}/plist ${WRKDIR}/plist; \ diff -u ${WRKDIR}/plist.old ${WRKDIR}/plist.new; \
fi fi
metadata: force metadata: force
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment