[Lunar-commits] <moonbase> gl2ps: Adjusting the BUILD so the make does not fail with;

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Tue Dec 13 13:02:10 CET 2011


commit 3aaba1e160ded888b33dbfca9f26f4e7082cf7a9
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Tue Dec 13 07:02:10 2011 -0500

    gl2ps: Adjusting the BUILD so the make does not fail with;
    
     'ceil@@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 so try adding it to the linker command line
    
    I am dropping the qt4 optional_depends after greping through the source and looking at what ccmake
    wants; there is no mention of it.
---
 printer/gl2ps/BUILD   |    4 +++-
 printer/gl2ps/DEPENDS |    4 ++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/printer/gl2ps/BUILD b/printer/gl2ps/BUILD
index 3425690..70dae2b 100644
--- a/printer/gl2ps/BUILD
+++ b/printer/gl2ps/BUILD
@@ -2,7 +2,9 @@
 
   if in_depends $MODULE qt4; then
     . /etc/profile.d/qt4.rc
-  fi 
+  fi  &&
+
+  LDFLAGS+=" -lm" &&
 
   default_cmake_build
 
diff --git a/printer/gl2ps/DEPENDS b/printer/gl2ps/DEPENDS
index 62cbfde..7e74023 100644
--- a/printer/gl2ps/DEPENDS
+++ b/printer/gl2ps/DEPENDS
@@ -1,3 +1,3 @@
 depends cmake
-optional_depends texlive
-optional_depends qt4
+
+optional_depends texlive "" "" "for texlive support"


More information about the Lunar-commits mailing list