[Lunar-commits] <moonbase> GraphicsMagick: Just a little adjustment in the BUILD.
Dennis `stumbles` Veatch
stumbles at lunar-linux.org
Wed Sep 30 12:37:17 CEST 2009
commit ff1dd4c65435c2368f4b2e4c453664d551be0d23
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date: Wed Sep 30 06:37:17 2009 -0400
GraphicsMagick: Just a little adjustment in the BUILD.
---
graphics/GraphicsMagick/BUILD | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/graphics/GraphicsMagick/BUILD b/graphics/GraphicsMagick/BUILD
index 310155c..fdba6a4 100644
--- a/graphics/GraphicsMagick/BUILD
+++ b/graphics/GraphicsMagick/BUILD
@@ -1,16 +1,19 @@
(
- . /etc/profile.d/qt3.rc
- . /etc/profile.d/kde3.rc
+ if module_installed qt3 ; then
+ . /etc/profile.d/qt3.rc &&
+ . /etc/profile.d/kde3.rc
+ fi &&
# These sedits are temporary and should be fixed in the next release.
# Check to be sure.
- sedit "s:png_access_version:png_access_version_number:" coders/png.c
- sedit "s:flags(png_ptr):flags(ping):" coders/png.c
- sedit "s:flags(png_ptr,:flags(ping,:" coders/png.c
+ sedit "s:png_access_version:png_access_version_number:" coders/png.c &&
+ sedit "s:flags(png_ptr):flags(ping):" coders/png.c &&
+ sedit "s:flags(png_ptr,:flags(ping,:" coders/png.c &&
+
+ OPTS="$OPTS --enable-shared --enable-symbol-prefix --with-modules" &&
- OPTS="$OPTS --enable-shared --enable-symbol-prefix --with-modules"
default_build
) > $C_FIFO 2>&1
More information about the Lunar-commits
mailing list