changeset 5539:2e0ea80a1aad

libgd: rpath build fixes
author Jan Nieuwenhuizen <janneke@gnu.org>
date Fri, 21 Aug 2009 16:18:17 +0200
parents 35bfa489b6bc
children 92ebe1238006
files gub/specs/libgd.py
diffstat 1 files changed, 18 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/gub/specs/libgd.py	Fri Aug 21 16:18:04 2009 +0200
+++ b/gub/specs/libgd.py	Fri Aug 21 16:18:17 2009 +0200
@@ -6,22 +6,36 @@
     def _get_build_dependencies (self):
         return [
             'tools::libtool',
-            'libjpeg-devel'
+            'fontconfig',
+            'freetype',
+            'libjpeg',
+            'libpng',
+            'zlib',
             ]
     def configure_command (self):
         return (target.AutoBuild.configure_command (self)
-                + ' --disable-xpm'
+                + ' --with-fontconfig'
+                + ' --with-freetype'
+                + ' --with-jpeg'
+                + ' --with-png'
                 + ' --without-xpm'
                 )
 
 class Libgd__tools (tools.AutoBuild, Libgd):
     def _get_build_dependencies (self):
         return [
+            'fontconfig',
+            'freetype',
+            'libjpeg',
+            'libpng',
             'libtool',
-            'libjpeg-devel',
+            'zlib',
             ]
     def configure_command (self):
         return (tools.AutoBuild.configure_command (self)
-                + ' --disable-xpm'
+                + ' --with-fontconfig'
+                + ' --with-freetype'
+                + ' --with-jpeg'
+                + ' --with-png'
                 + ' --without-xpm'
                 )