diff --git a/share/mk/pkgsrchooks.mk b/share/mk/pkgsrchooks.mk index 8e61f9fee..ad4a6a36a 100644 --- a/share/mk/pkgsrchooks.mk +++ b/share/mk/pkgsrchooks.mk @@ -14,7 +14,7 @@ PKG_REQUIRES_MINIX_LIBC=no # Search PKGS_REQUIRING_MINIX_LIBC to see if it needs Minix libc .for PKG_REQUIRING_MINIX_LIBC in ${PKGS_REQUIRING_MINIX_LIBC} -.if "${PKG_REQUIRING_MINIX_LIBC}" == "${CATEGORIES}/${PKGBASE}" +.if "${PKG_REQUIRING_MINIX_LIBC}" == "${PKGPATH}" PKG_REQUIRES_MINIX_LIBC=yes .endif .endfor