aboutsummaryrefslogtreecommitdiff
path: root/ladspa/ladspa.SlackBuild
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2006-10-16 11:07:12 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2006-10-16 11:07:12 +0000
commit9d4ebbb39aa1bd7025a81cf18a7f97a874cce184 (patch)
tree4a0cf5e799df32614c6f9efcc794fa6b7005d3a1 /ladspa/ladspa.SlackBuild
parente354f6a36889b830fe142939d1c49cec58d6030e (diff)
downloadslackbuilds-9d4ebbb39aa1bd7025a81cf18a7f97a874cce184.tar.gz
slackbuilds-9d4ebbb39aa1bd7025a81cf18a7f97a874cce184.tar.bz2
ladspa: small fix
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@385 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'ladspa/ladspa.SlackBuild')
-rwxr-xr-xladspa/ladspa.SlackBuild3
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 ..