aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-03-08 02:58:43 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-03-08 02:58:43 +0000
commit3e110259dea7bad8e819102a3c393ba1b9ff0000 (patch)
treef6bccd20eb4d5eddbca9fba560f1df30ef0b14f2 /packages
parent1ec8b8661ce1e6eadbcc9892c7e6d354fd2a1fcb (diff)
set --prefix for ./configure for things like pkgconfig
svn path=/trunk/; revision=16058
Diffstat (limited to 'packages')
-rw-r--r--packages/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/packages/Makefile b/packages/Makefile
index 3ebf3ec8..f464069d 100644
--- a/packages/Makefile
+++ b/packages/Makefile
@@ -91,13 +91,15 @@ externals:
#------------------------------------------------------------------------------
# pd
+PD_CONFIGURE_FLAGS = --prefix=$(prefix)
+
ifeq ($(OS_NAME),darwin)
- PD_CONFIGURE_FLAGS = --enable-jack
+ PD_CONFIGURE_FLAGS += --enable-jack
else
ifeq ($(OS_NAME),linux)
- PD_CONFIGURE_FLAGS = --enable-jack --enable-alsa
+ PD_CONFIGURE_FLAGS += --enable-jack --enable-alsa
else
- PD_CONFIGURE_FLAGS =
+ PD_CONFIGURE_FLAGS +=
endif
endif