diff options
author | bapt <bapt@FreeBSD.org> | 2014-04-11 01:02:33 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-04-11 01:02:33 +0800 |
commit | fd472f054bf0cfc436891c3c64f64df25d1058a1 (patch) | |
tree | a7542df3906f7ee0fd213c88bb8958fcebf5162a /Mk | |
parent | 45a65ee4b8938f18efa4cb5361a705cbd75c82ab (diff) | |
download | freebsd-ports-gnome-fd472f054bf0cfc436891c3c64f64df25d1058a1.tar.gz freebsd-ports-gnome-fd472f054bf0cfc436891c3c64f64df25d1058a1.tar.zst freebsd-ports-gnome-fd472f054bf0cfc436891c3c64f64df25d1058a1.zip |
Allow to properly run make check-orphans and make makeplist for gnome ports
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/Scripts/check-stagedir.sh | 6 | ||||
-rw-r--r-- | Mk/bsd.stage.mk | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/Mk/Scripts/check-stagedir.sh b/Mk/Scripts/check-stagedir.sh index 76b50d10b1e0..e2085718be27 100644 --- a/Mk/Scripts/check-stagedir.sh +++ b/Mk/Scripts/check-stagedir.sh @@ -23,7 +23,7 @@ esac # validate environment envfault= -for i in STAGEDIR PREFIX LOCALBASE WRKDIR WRKSRC MTREE_FILE \ +for i in STAGEDIR PREFIX LOCALBASE WRKDIR WRKSRC MTREE_FILE GNOME_MTREE_FILE \ TMPPLIST DOCSDIR EXAMPLESDIR PLIST_SUB do if ! ( eval ": \${${i}?}" ) 2>/dev/null ; then @@ -91,6 +91,10 @@ fi listmtree "${MTREE_FILE}" "${PREFIX}" fi + if [ -n "${GNOME_MTREE_FILE}" ]; then + listmtree "${GNOME_MTREE_FILE}" "${PREFIX}" + fi + a=${PREFIX} while :; do echo ${a} diff --git a/Mk/bsd.stage.mk b/Mk/bsd.stage.mk index 441d8e8f9a7a..e643635556d0 100644 --- a/Mk/bsd.stage.mk +++ b/Mk/bsd.stage.mk @@ -22,6 +22,7 @@ CO_ENV+= STAGEDIR=${STAGEDIR} \ WRKDIR=${WRKDIR} \ WRKSRC=${WRKSRC} \ MTREE_FILE=${MTREE_FILE} \ + GNOME_MTREE_FILE=${GNOME_MTREE_FILE} \ TMPPLIST=${TMPPLIST} \ DOCSDIR=${DOCSDIR} \ EXAMPLESDIR=${EXAMPLESDIR} \ |