diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2014-04-24 06:19:58 +0800 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2014-04-24 06:19:58 +0800 |
commit | 8b3206e6b6fd71e44a42b99098a29da6a008a617 (patch) | |
tree | 9aff347954133bacc76e07e861efa542d4290fc0 /Mk | |
parent | 8c5e5d44dd91a4f70f1c4bdae8e283a3b57afd83 (diff) | |
download | freebsd-ports-gnome-8b3206e6b6fd71e44a42b99098a29da6a008a617.tar.gz freebsd-ports-gnome-8b3206e6b6fd71e44a42b99098a29da6a008a617.tar.zst freebsd-ports-gnome-8b3206e6b6fd71e44a42b99098a29da6a008a617.zip |
- Fix stage-qa when USES contains desktop-file-utils twice
Reported by: mandree
With hat: portmgr
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.stage.mk | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Mk/bsd.stage.mk b/Mk/bsd.stage.mk index da0f53146458..acaada6ceb4e 100644 --- a/Mk/bsd.stage.mk +++ b/Mk/bsd.stage.mk @@ -13,9 +13,13 @@ MAKE_ARGS+= ${DESTDIRNAME}=${STAGEDIR} QA_ENV+= STAGEDIR=${STAGEDIR} \ PREFIX=${PREFIX} \ LOCALBASE=${LOCALBASE} \ - USESDESKTOPFILEUTILS=${USES:Mdesktop-file-utils} \ - USESSHAREDMIMEINFO=${USES:Mshared-mime-info} \ "STRIP=${STRIP}" +.if ${USES:Mdesktop-file-utils} +QA_ENV+= USESDESKTOPFILEUTILS=yes +.endif +.if ${USES:Mshared-mime-info} +QA_ENV+= USESSHAREDMIMEINFO=yes +.endif CO_ENV+= STAGEDIR=${STAGEDIR} \ PREFIX=${PREFIX} \ LOCALBASE=${LOCALBASE} \ |