[Lunar-commits] <moonbase> libmng: autogen tanks with our version of automake, adjusting BUILD.
stumbles
stumbles at lunar-linux.org
Wed Jun 27 17:22:42 CEST 2012
commit eebdd9e41786ed628396016a5f05f087f7cbe1e7
Author: stumbles <stumbles at lunar-linux.org>
Date: Wed Jun 27 11:22:42 2012 -0400
libmng: autogen tanks with our version of automake, adjusting BUILD.
Additionally, there are no such options as shared or static. Making the
rest optional_depends.
---
graphics/libmng/BUILD | 12 +++++++++---
graphics/libmng/DEPENDS | 7 +++----
2 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/graphics/libmng/BUILD b/graphics/libmng/BUILD
index 8247e64..499e537 100644
--- a/graphics/libmng/BUILD
+++ b/graphics/libmng/BUILD
@@ -1,7 +1,13 @@
(
- cat unmaintained/autogen.sh | tr -d \\r > autogen.sh &&
+
+ cp unmaintained/autogen.sh . &&
chmod 755 autogen.sh &&
- ./autogen.sh --help > /dev/null &&
- OPTS+=" --enable-shared --enable-static --with-zlib --with-jpeg --with-lcms" &&
+
+# autogen tanks with our version of automake.
+ sed -i '/^AM_C_PROTOTYPES$/d' makefiles/configure.in &&
+
+ ./autogen.sh &&
+
default_build
+
) > $C_FIFO 2>&1
diff --git a/graphics/libmng/DEPENDS b/graphics/libmng/DEPENDS
index 31fa87d..5d20bfd 100644
--- a/graphics/libmng/DEPENDS
+++ b/graphics/libmng/DEPENDS
@@ -1,4 +1,3 @@
-depends automake
-depends zlib
-depends lcms
-depends %JPEG
+optional_depends zlib "--with-zlib" "--without-zlib" "for compression support"
+optional_depends lcms "--with-lcms" "--without-lcms" "for color management support"
+optional_depends %JPEG "--with-jpeg" "--without-jpeg" "for jpeg graphics support"
More information about the Lunar-commits
mailing list