Fix to detect gettext and iconv from brad@.

This commit is contained in:
couderc 2003-05-26 11:30:05 +00:00
parent e2a5d17da8
commit 6328558d2a
2 changed files with 7 additions and 23 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.43 2003/04/19 15:45:22 couderc Exp $
# $OpenBSD: Makefile,v 1.44 2003/05/26 11:30:05 couderc Exp $
# $FreeBSD: Makefile,v 1.12 1999/06/08 23:41:54 steve Exp $
COMMENT= "X-Chat is an X11 IRC client"
@ -29,11 +29,12 @@ MODULES= iconv gettext
USE_GMAKE= Yes
USE_X11= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --disable-python --disable-gnome \
--disable-zvt --disable-mmx \
--enable-ipv6 --enable-openssl="/usr" \
--enable-japanese-conv \
--with-libiconv-prefix="${LOCALBASE}"
CONFIGURE_ARGS+= --disable-python --disable-gnome \
--disable-zvt --disable-mmx \
--enable-ipv6 --enable-openssl="/usr" \
--enable-japanese-conv
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
DOCDIR= ${PREFIX}/share/doc/xchat

View File

@ -1,17 +0,0 @@
$OpenBSD: patch-intl_dcigettext_c,v 1.1 2003/04/19 15:45:22 couderc Exp $
--- intl/dcigettext.c.orig Sat Apr 19 16:53:22 2003
+++ intl/dcigettext.c Sat Apr 19 16:53:48 2003
@@ -57,11 +57,13 @@ extern int errno;
#include <stdlib.h>
#include <string.h>
+/*
#if !HAVE_STRCHR && !defined _LIBC
# ifndef strchr
# define strchr index
# endif
#endif
+*/
#if defined HAVE_UNISTD_H || defined _LIBC
# include <unistd.h>