From 44fede4b73fc645f02dcf08284cf245c5903a056 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Sat, 23 Feb 2008 21:31:22 +0000 Subject: [PATCH] Improved gtk+ to be able to build without libtiff or libjpeg --- gtk+/gtk+/gtk+.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gtk+/gtk+/gtk+.conf b/gtk+/gtk+/gtk+.conf index 47eaa234a..3eb02cccc 100644 --- a/gtk+/gtk+/gtk+.conf +++ b/gtk+/gtk+/gtk+.conf @@ -2,6 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../gtk+/gtk+.conf +# Copyright (C) 2008 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2004 Clifford Wolf # @@ -17,5 +18,11 @@ # --enable-fbmanager enable framebuffer manager support (GtkFB) var_append confopt ' ' '--with-xinput=yes' +for x in libtiff libjpeg; do + if ! pkginstalled $x; then + var_append extraconfopt ' ' "--without-$x" + fi +done + [ $arch = powerpc64 ] && var_append GCC_WRAPPER_APPEND ' ' -mminimal-toc