Fix libintl detection (previously this port was using bundled libintl)

ok naddy@
This commit is contained in:
alek 2005-01-06 19:51:44 +00:00
parent 52faeca009
commit ac13c1aea3
3 changed files with 24 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.42 2004/11/21 22:29:50 espie Exp $
# $OpenBSD: Makefile,v 1.43 2005/01/06 19:51:44 alek Exp $
COMMENT= "MS-DOS Telix-like serial communication program"
@ -24,6 +24,8 @@ WRKDIST= ${WRKDIR}/minicom-${VER}
COPTS+= -DHAS_EUID
CONFIGURE_STYLE= autoconf
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include"
CONFIGURE_ARGS= --enable-cfg-dir=${SYSCONFDIR}/minicom \
--enable-lock-dir=/var/spool/lock

View File

@ -1,6 +1,14 @@
$OpenBSD: patch-configure_in,v 1.2 2004/03/23 19:01:17 pvalchev Exp $
$OpenBSD: patch-configure_in,v 1.3 2005/01/06 19:51:44 alek Exp $
--- configure.in.orig 2001-09-30 07:10:33.000000000 -0600
+++ configure.in 2004-03-23 10:50:26.000000000 -0700
@@ -167,6 +167,7 @@ dnl Set of available languages.
ALL_LINGUAS="cs_CZ es fr fi_FI ja ja_JP.SJIS pl pt_BR ru"
dnl Checks for programs.
+LIBS="$LIBS -liconv"
AM_GNU_GETTEXT
test "x$USE_INCLUDED_LIBINTL" = xyes && CFLAGS="$CFLAGS -I\$(top_srcdir)/intl"
@@ -249,7 +249,7 @@ AC_CHECK_FUNC(select,
KEYSERV="",
KEYSERV="minicom.keyserv")

View File

@ -1,6 +1,15 @@
$OpenBSD: patch-po_Makefile_in_in,v 1.1 2002/03/22 05:31:37 form Exp $
--- po/Makefile.in.in.orig Fri Mar 22 10:11:31 2002
+++ po/Makefile.in.in Fri Mar 22 10:14:11 2002
$OpenBSD: patch-po_Makefile_in_in,v 1.2 2005/01/06 19:51:44 alek Exp $
--- po/Makefile.in.in.orig Mon Oct 1 16:21:48 2001
+++ po/Makefile.in.in Thu Jan 6 12:32:27 2005
@@ -19,7 +19,7 @@ VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
datadir = $(prefix)/@DATADIRNAME@
-localedir = $(datadir)/locale
+localedir = $(prefix)/share/locale
gnulocaledir = $(prefix)/share/locale
gettextsrcdir = $(prefix)/share/gettext/po
subdir = po
@@ -113,14 +113,14 @@ install-data-yes: all
if test -r "$(MKINSTALLDIRS)"; then \
$(MKINSTALLDIRS) $(datadir); \