[Lunar-commits] <moonbase-other> libopenraw: An adustment for those using turbo jpeg.

stumbles stumbles at lunar-linux.org
Tue May 14 14:11:14 CEST 2013


commit e5e7119b2bcf2f722cfad1437b371977ec5a8d3f
Author: stumbles <stumbles at lunar-linux.org>
Date: Tue, 14 May 2013 05:10:45 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/e5e7119b2bcf2f722cfad1437b371977ec5a8d3f

libopenraw: An adustment for those using turbo jpeg.
---
  graphics/libopenraw/BUILD   | +7/-2     
  graphics/libopenraw/DEPENDS | +1/-1     
  2 files changed, 8 insertions(+), 3 deletions(-)

--- a/graphics/libopenraw/BUILD
+++ b/graphics/libopenraw/BUILD
@@ -1,2 +1,7 @@
-sedit "s/TRUE/JPEG::TRUE/" lib/jfifcontainer.cpp &&
-default_build
+
+#If libjpeg-turbo is installed this sedit will cause the make to barf.
+  if in_depends $MODULE jpeg ; then
+    sedit "s/TRUE/JPEG::TRUE/" lib/jfifcontainer.cpp &&
+  fi &&
+
+  default_build
--- a/graphics/libopenraw/DEPENDS
+++ b/graphics/libopenraw/DEPENDS
@@ -1,2 +1,2 @@
 depends boost
-
+depends %JPEG




More information about the Lunar-commits mailing list