From efd962d26e34571becc6b7032babb5ca6c2cabea Mon Sep 17 00:00:00 2001 From: jlam Date: Sat, 9 Oct 1999 20:14:08 +0000 Subject: Alterations to use libungif instead of giflib --- graphics/kdegraphics/Makefile | 11 ++++---- graphics/kdegraphics/files/patch-sum | 5 ++-- graphics/kdegraphics/patches/patch-ab | 47 ++++++++++++++++++++++++++++++++--- graphics/kdegraphics/patches/patch-af | 21 ++++++++++++++++ 4 files changed, 72 insertions(+), 12 deletions(-) create mode 100644 graphics/kdegraphics/patches/patch-af (limited to 'graphics/kdegraphics') diff --git a/graphics/kdegraphics/Makefile b/graphics/kdegraphics/Makefile index c2c06952fad..2fd73770b12 100644 --- a/graphics/kdegraphics/Makefile +++ b/graphics/kdegraphics/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 1999/10/07 17:41:53 tron Exp $ +# $NetBSD: Makefile,v 1.25 1999/10/09 20:14:08 jlam Exp $ # DISTNAME= kdegraphics-1.1.2 @@ -11,18 +11,17 @@ MAINTAINER= packages@netbsd.org HOMEPAGE= http://www.kde.org/ DEPENDS+= kdebase-1.1.2:../../x11/kdebase +DEPENDS+= libungif-*:../../graphics/libungif USE_X11BASE= yes USE_GMAKE= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= "--x-inc=${PREFIX}/include -I${LOCALBASE}/include -I${LOCALBASE}/include/giflib" \ - "--x-lib=${PREFIX}/lib -L${LOCALBASE}/lib" \ - "--datadir=${PREFIX}/share/kde" \ +CONFIGURE_ARGS= "--datadir=${PREFIX}/share/kde" \ "--with-qt-dir=${PREFIX}" \ "--with-qt-includes=${PREFIX}/include/qt" -CFLAGS+= -I${LOCALBASE}/include/giflib -I${LOCALBASE}/include +CFLAGS+= -I${LOCALBASE}/include CONFIGURE_ENV= KDEDIR=${PREFIX} \ CXXFLAGS="${CFLAGS}" \ - all_libraries="-L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib" + all_libraries="-Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib" .include "../../mk/bsd.pkg.mk" diff --git a/graphics/kdegraphics/files/patch-sum b/graphics/kdegraphics/files/patch-sum index 3f8e139b788..1807ba7ccd4 100644 --- a/graphics/kdegraphics/files/patch-sum +++ b/graphics/kdegraphics/files/patch-sum @@ -1,7 +1,8 @@ -$NetBSD: patch-sum,v 1.3 1999/09/30 07:50:00 tron Exp $ +$NetBSD: patch-sum,v 1.4 1999/10/09 20:14:09 jlam Exp $ MD5 (patch-aa) = c13972030d3908c8eab78488960f06b9 -MD5 (patch-ab) = d6175035f2e158bb4d42ece06da834b8 +MD5 (patch-ab) = 72a89da589137f5495fdf6122226d97d MD5 (patch-ac) = fdbc331b1e85bdaefb7b1fdc06827c8e MD5 (patch-ad) = f972d1778a8b5b6fd2240f5d6a305ef4 MD5 (patch-ae) = e23d09916b9b2068c17d3f318062619a +MD5 (patch-af) = 1ba79b59ace728111f97c1b0b8ddd4d3 diff --git a/graphics/kdegraphics/patches/patch-ab b/graphics/kdegraphics/patches/patch-ab index 951ee5a9f52..ccb7997186b 100644 --- a/graphics/kdegraphics/patches/patch-ab +++ b/graphics/kdegraphics/patches/patch-ab @@ -1,7 +1,7 @@ -$NetBSD: patch-ab,v 1.2 1999/06/05 17:27:56 tron Exp $ +$NetBSD: patch-ab,v 1.3 1999/10/09 20:14:09 jlam Exp $ ---- configure.orig Wed Apr 28 17:23:40 1999 -+++ configure Sat Jun 5 18:53:54 1999 +--- configure.orig Tue Sep 7 11:22:53 1999 ++++ configure Sat Oct 9 14:08:37 1999 @@ -511,9 +511,9 @@ # Prefer explicitly selected file to automatically selected ones. if test -z "$CONFIG_SITE"; then @@ -14,7 +14,7 @@ $NetBSD: patch-ab,v 1.2 1999/06/05 17:27:56 tron Exp $ fi fi for ac_site_file in $CONFIG_SITE; do -@@ -4050,37 +4050,37 @@ +@@ -4056,37 +4056,37 @@ if test "$ac_use_path_checking" = "default"; then if test -z "$kde_htmldir"; then @@ -63,3 +63,42 @@ $NetBSD: patch-ab,v 1.2 1999/06/05 17:27:56 tron Exp $ fi if test -z "$kde_bindir"; then kde_bindir='\$(exec_prefix)/bin' +@@ -4407,7 +4407,7 @@ + echo $ac_n "(cached) $ac_c" 1>&6 + else + ac_save_LIBS="$LIBS" +-LIBS="$all_libraries -lgif -lX11 $LIBSOCKET" ++LIBS="$all_libraries -lungif -lX11 $LIBSOCKET" + cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* +- eval "ac_cv_lib_gif=yes" ++ eval "ac_cv_lib_gif=-lungif" + else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 +@@ -4439,8 +4439,10 @@ + LIBS="$ac_save_LIBS" + + fi +-if eval "test \"`echo $ac_cv_lib_gif`\" = yes"; then +- echo "$ac_t""yes" 1>&6 ++if eval "test ! \"`echo $ac_cv_lib_gif`\" = no"; then ++ LIBGIF="$ac_cv_lib_gif" ++ ++ echo "$ac_t""$ac_cv_lib_gif" 1>&6 + cat >> confdefs.h <