diff options
-rwxr-xr-x | ladspa/ladspa.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ladspa/ladspa.SlackBuild b/ladspa/ladspa.SlackBuild index 20546e2d..5bd2fef5 100755 --- a/ladspa/ladspa.SlackBuild +++ b/ladspa/ladspa.SlackBuild @@ -71,6 +71,8 @@ if [ -f "$CWD/$PACKAGE-$VERSION.diff" ]; then patch -p1 < $CWD/$PACKAGE-$VERSION.diff fi +cd src + sed -e 's/\/usr\/local\/lib\/ladspa\//\/usr\/lib\/ladspa\//' \ -e 's/\/usr\/local\/bin\//\/usr\/bin\//' makefile > makefile.tmp || exit $ERROR_CONF @@ -80,7 +82,6 @@ sed -e 's/$(INSTALL_PLUGINS_DIR)/$(PREFIX)\/$(INSTALL_PLUGINS_DIR)/g' \ -e 's/$(INSTALL_INCLUDE_DIR)/$(PREFIX)\/$(INSTALL_INCLUDE_DIR)/g' \ -e 's/$(INSTALL_BINARY_DIR)/$(PREFIX)\/$(INSTALL_BINARY_DIR)/g' makefile.tmp > makefile || exit $ERROR_CONF -cd src make || exit $ERROR_MAKE make install || exit $ERROR_INSTALL cd .. |