use ${PKGPATH} instead of ${CATEGORIES}/${PKGBASE}
Some packages are in multiple categories (one example is devel/libgetopt). This broke the IF statement because ${CATEGORIES} got expanded to "cat1 cat2". The proper variable to use is PKGPATH.
This commit is contained in:
parent
69bf8e4f71
commit
55c7e24c74
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ PKG_REQUIRES_MINIX_LIBC=no
|
||||||
|
|
||||||
# Search PKGS_REQUIRING_MINIX_LIBC to see if it needs Minix libc
|
# Search PKGS_REQUIRING_MINIX_LIBC to see if it needs Minix libc
|
||||||
.for PKG_REQUIRING_MINIX_LIBC in ${PKGS_REQUIRING_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
|
PKG_REQUIRES_MINIX_LIBC=yes
|
||||||
.endif
|
.endif
|
||||||
.endfor
|
.endfor
|
||||||
|
|
Loading…
Reference in a new issue