From a4a0e88a9b243c2328a4e03f64a97c419b1c1477 Mon Sep 17 00:00:00 2001 From: jasper Date: Fri, 2 May 2008 11:18:59 +0000 Subject: [PATCH] - remove a hidden dependency on curl from giovanni bechis (MAINTAINER) --- editors/tea/Makefile | 3 ++- editors/tea/patches/patch-configure | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 editors/tea/patches/patch-configure diff --git a/editors/tea/Makefile b/editors/tea/Makefile index 6ee7e485d17..2c4a8461f01 100644 --- a/editors/tea/Makefile +++ b/editors/tea/Makefile @@ -1,8 +1,9 @@ -# $OpenBSD: Makefile,v 1.2 2008/03/28 13:13:11 okan Exp $ +# $OpenBSD: Makefile,v 1.3 2008/05/02 11:18:59 jasper Exp $ COMMENT= powerful and simple GTK editor DISTNAME= tea-17.6.0 +PKGNAME= ${DISTNAME}p0 CATEGORIES= editors x11 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tea-editor/} EXTRACT_SUFX= .tar.bz2 diff --git a/editors/tea/patches/patch-configure b/editors/tea/patches/patch-configure new file mode 100644 index 00000000000..63cd2b83da6 --- /dev/null +++ b/editors/tea/patches/patch-configure @@ -0,0 +1,26 @@ +$OpenBSD: patch-configure,v 1.1 2008/05/02 11:18:59 jasper Exp $ +--- configure.orig Wed Apr 30 09:07:19 2008 ++++ configure Wed Apr 30 09:09:09 2008 +@@ -5764,22 +5764,6 @@ else + pkg_modules="gtk+-2.0 >= 2.4.0" + fi + +- +-echo -n "checking for libcurl... " +-if pkg-config --exists libcurl ; then +- LIBS="$LIBS `pkg-config --libs libcurl `" +- CFLAGS="$CFLAGS `pkg-config --cflags libcurl `" +- +-cat >>confdefs.h <<\_ACEOF +-#define LIBCURL_SUPPORTED 1 +-_ACEOF +- +- echo "yes" +-else +- echo "no" +-fi +- +- + echo -n "checking for zziplib... " + if pkg-config --exists zziplib ; then + LIBS="$LIBS `pkg-config --libs zziplib `"