View | Details | Raw Unified | Return to bug 189255 | Differences between
and this patch

Collapse All | Expand All

(-)Mk/bsd.stage.mk (-1 / +4 lines)
Lines 17-23 QA_ENV+= STAGEDIR=${STAGEDIR} \ Link Here
17
.if !empty(USES:Mdesktop-file-utils)
17
.if !empty(USES:Mdesktop-file-utils)
18
QA_ENV+=	USESDESKTOPFILEUTILS=yes
18
QA_ENV+=	USESDESKTOPFILEUTILS=yes
19
.endif
19
.endif
20
.if !empty(USES:Mdesktop-file-utils)
20
.if !empty(USES:Mlibtool*)
21
QA_ENV+=	USESLIBTOOL=yes
22
.endif
23
.if !empty(USES:Mshared-mime-info)
21
QA_ENV+=	USESSHAREDMIMEINFO=yes
24
QA_ENV+=	USESSHAREDMIMEINFO=yes
22
.endif
25
.endif
23
CO_ENV+=	STAGEDIR=${STAGEDIR} \
26
CO_ENV+=	STAGEDIR=${STAGEDIR} \
(-)Mk/Scripts/qa.sh (-1 / +11 lines)
Lines 172-178 suidfiles() { Link Here
172
	return 0
172
	return 0
173
}
173
}
174
174
175
checks="shebang symlinks paths stripped desktopfileutils sharedmimeinfo suidfiles"
175
ltlibraries() {
176
	if [ -z "${USESLIBTOOL}" ]; then
177
		find ${STAGEDIR} -type f -name '*.la' | while read f; do
178
			grep -q 'libtool library' "${f}" &&
179
				err "you need USES=libtool" && return 1 || true
180
		done
181
		# The return above continues here.
182
	fi
183
}
184
185
checks="shebang symlinks paths stripped desktopfileutils sharedmimeinfo suidfiles ltlibraries"
176
186
177
ret=0
187
ret=0
178
cd ${STAGEDIR}
188
cd ${STAGEDIR}

Return to bug 189255