make-rules/ips.mk
changeset 1188 d563dccb5adb
parent 1152 96d423311191
child 1205 6c6c27bcf9ac
--- a/make-rules/ips.mk	Fri Mar 01 14:09:35 2013 -0800
+++ b/make-rules/ips.mk	Fri Mar 01 16:32:02 2013 -0800
@@ -39,7 +39,11 @@
 PKGFMT =	/usr/bin/pkgfmt
 PKGMOGRIFY =	/usr/bin/pkgmogrify
 PKGSEND =	/usr/bin/pkgsend
+ifeq   ($(strip $(PKGLINT_COMPONENT)),)
 PKGLINT =	/usr/bin/pkglint
+else
+PKGLINT =	${WS_TOOLS}/pkglint
+endif
 PKGMANGLE =	$(WS_TOOLS)/userland-mangler
 
 # Package headers should all pretty much follow the same format