aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Ferrell <major@homeonderanged.org>2014-04-15 12:54:14 -0700
committerMark Ferrell <major@homeonderanged.org>2014-04-15 12:54:14 -0700
commit0a7ef798040b4139b00427843c342ceee82a7eee (patch)
tree0fbdce0d593f6872449bef8aca7462ca1b6c6113
parentf46c55ef4a83a4566a4bdd112166b3c9a61f16cd (diff)
Add .buildrules files to package dependencies
-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