[Lunar-commits] <moonbase> portmidi: Adjusting the BUILD as noted there-in.
Dennis `stumbles` Veatch
stumbles at lunar-linux.org
Thu Dec 23 13:10:24 CET 2010
commit baac9401f68e2ef6275f9665e1ef229ab5156fd7
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date: Thu Dec 23 07:10:24 2010 -0500
portmidi: Adjusting the BUILD as noted there-in.
---
audio/portmidi/BUILD | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/audio/portmidi/BUILD b/audio/portmidi/BUILD
index 6cd3704..196e839 100644
--- a/audio/portmidi/BUILD
+++ b/audio/portmidi/BUILD
@@ -1,8 +1,14 @@
(
- cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX \
- -DCMAKE_BUILD_TYPE=RELEASE \
- $OPTS &&
+
+ cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=RELEASE \
+ $OPTS &&
+
+# Their implementation of cmake tends to ignore the prefix, so that
+# needs some fixing, else things go in /usr/local.
+ FIX_PRE=`find -type f -print | cut -c 3-` &&
+ sedit "s:/usr/local:/usr:g" $FIX_PRE &&
default_make
More information about the Lunar-commits
mailing list