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

Collapse All | Expand All

(-)Mk/Scripts/qa.sh (-1 / +12 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
libtool() {
176
	if [ -z "${USESLIBTOOL}" ]; then
177
		find ${STAGEDIR} -type f -name '*.la' | while read f; do
178
			grep -q 'libtool library' "${f}" &&
179
				warn ".la libraries found, port needs USES=libtool" &&
180
				return 0 || true
181
		done
182
		# The return above continues here.
183
	fi
184
}
185
186
checks="shebang symlinks paths stripped desktopfileutils sharedmimeinfo suidfiles libtool"
176
187
177
ret=0
188
ret=0
178
cd ${STAGEDIR}
189
cd ${STAGEDIR}
(-)Mk/bsd.stage.mk (+3 lines)
Lines 17-22 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:Mlibtool*)
21
QA_ENV+=	USESLIBTOOL=yes
22
.endif
20
.if !empty(USES:Mshared-mime-info)
23
.if !empty(USES:Mshared-mime-info)
21
QA_ENV+=	USESSHAREDMIMEINFO=yes
24
QA_ENV+=	USESSHAREDMIMEINFO=yes
22
.endif
25
.endif

Return to bug 189255