aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpackages/linux_make/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/linux_make/Makefile b/packages/linux_make/Makefile
index 3c45ea41..f67088af 100755
--- a/packages/linux_make/Makefile
+++ b/packages/linux_make/Makefile
@@ -108,8 +108,8 @@ deb: $(bindir)
sed -i 's|^Architecture:.*|Architecture: $(DEB_BUILD_ARCH)|' \
$(packages_src)/linux_make/debian/control
# auto-generate the dependencies
- deb_depends := $(shell find $(DESTDIR) -name \*.pd_linux -print0 | xargs -0 ldd | sed -n 's|.*\(lib.*\) =.*|\1|p' |sort -u| xargs dpkg -S | cut -d ':' -f 1 | sort -u | tr '\n' ' ')
- sed -i 's|^Depends:.*|Depends: $(deb_depends)|' \
+ pak_depend := $(shell find $(DESTDIR) -name \*.pd_linux -print0 | xargs -0 ldd | sed -n 's|.*\(lib.*\) =.*|\1|p' |sort -u| xargs dpkg -S | cut -d ':' -f 1 | sort -u | tr '\n' ' ')
+ sed -i 's|^Depends:.*|Depends: $(pak_depend)|' \
$(packages_src)/linux_make/debian/control
ifeq ($(DEB_BUILD_ARCH),powerpc)
sed -i 's|, libavifile-0.7c2||' $(packages_src)/linux_make/debian/control