aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlibexec/build-makedeps4
1 files changed, 4 insertions, 0 deletions
diff --git a/libexec/build-makedeps b/libexec/build-makedeps
index 8784afb..9cf62fb 100755
--- a/libexec/build-makedeps
+++ b/libexec/build-makedeps
@@ -82,6 +82,10 @@ for package in $(echo "${BUILDER_PKGDIR}"/*/*); do
unset file
package_sources="${package_sources} ${RULESFILE}"
+ if test -f "${BUILDER_PKGDIR}/${CATEGORY}/.buildrules"; then
+ package_sources="${package_sources} ${BUILDER_PKGDIR}/${CATEGORY}/.buildrules"
+ fi
+
for patch in ${PATCHES}; do
patch="${F}/${NAME}-${VERSION}-${patch}.patch"
if ! test -f "${patch}"; then