ports/51702: Update port: textproc/dictfmt to 1.9.9

KATO Tsuguru tkato at prontomail.com
Fri May 2 23:10:26 UTC 2003


>Number:         51702
>Category:       ports
>Synopsis:       Update port: textproc/dictfmt to 1.9.9
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 02 16:10:16 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 1.9.9

Remove file:
files/patch-dictP.h

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/textproc/dictfmt/Makefile textproc/dictfmt/Makefile
--- /usr/ports/textproc/dictfmt/Makefile	Sat Apr 12 23:28:29 2003
+++ textproc/dictfmt/Makefile	Sat May  3 06:19:22 2003
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	dictfmt
-PORTVERSION=	1.9.8
+PORTVERSION=	1.9.9
 CATEGORIES=	textproc
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	dict
@@ -15,20 +15,19 @@
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Formats a DICT protocol dictionary database
 
-BUILD_DEPENDS=	aclocal:${PORTSDIR}/devel/automake
+LIB_DEPENDS=	ltdl.1:${PORTSDIR}/devel/libtool
 
-USE_AUTOCONF=	yes
-WANT_AUTOCONF_VER=	253
-USE_LIBTOOL=	yes
-CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include"
 USE_GMAKE=	yes
+USE_AUTOCONF_VER=	253
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
+		LDFLAGS="-L${LOCALBASE}/lib"
+MAKE_ARGS=	ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
+		AUTOHEADER="${TRUE}"
 ALL_TARGET=	dictfmt
 INSTALL_TARGET=	install.dictfmt
 
 MAN1=		dictfmt.1 dictfmt_index2suffix.1 dictfmt_index2word.1 \
 		dictunformat.1
-
-post-patch:
-	cd ${WRKSRC}; aclocal; ${AUTOHEADER}
 
 .include <bsd.port.mk>
diff -urN /usr/ports/textproc/dictfmt/distinfo textproc/dictfmt/distinfo
--- /usr/ports/textproc/dictfmt/distinfo	Sat Apr 12 23:28:29 2003
+++ textproc/dictfmt/distinfo	Sat May  3 05:57:08 2003
@@ -1 +1 @@
-MD5 (dictd-1.9.8.tar.gz) = e8968c93ab3989c24a0f11d80cfea3eb
+MD5 (dictd-1.9.9.tar.gz) = d4ce1c63a619a575e7a6e51d657c2dcf
diff -urN /usr/ports/textproc/dictfmt/files/patch-configure.in textproc/dictfmt/files/patch-configure.in
--- /usr/ports/textproc/dictfmt/files/patch-configure.in	Mon Mar 31 08:05:41 2003
+++ textproc/dictfmt/files/patch-configure.in	Sat May  3 06:09:17 2003
@@ -1,12 +1,11 @@
---- configure.in.orig
-+++ configure.in
-@@ -311,7 +311,8 @@
+--- configure.in.orig	Tue Apr 15 00:15:01 2003
++++ configure.in	Sat May  3 06:08:59 2003
+@@ -326,7 +326,7 @@
  AC_CHECK_HEADERS(sys/resource.h sys/time.h sys/param.h sys/wait.h)
  AC_CHECK_HEADERS(wctype.h wchar.h)
  
--AC_CHECK_TYPES([wint_t, mbstate_t])
-+AC_CHECK_TYPES([wint_t, mbstate_t], , ,[#include <wchar.h>])
-+AC_CHECK_TYPES([wchar_t], , ,[#include <wchar.h>])
+-AC_CHECK_TYPES(wint_t)
++AC_CHECK_TYPES(wint_t,    , , [#include <wchar.h>])
+ AC_CHECK_TYPES(mbstate_t, , , [#include <wchar.h>])
+ AC_CHECK_TYPES(wchar_t,   , , [#include <stddef.h>])
  
- echo .
- echo Checking for system constants
diff -urN /usr/ports/textproc/dictfmt/files/patch-dictP.h textproc/dictfmt/files/patch-dictP.h
--- /usr/ports/textproc/dictfmt/files/patch-dictP.h	Mon Mar 31 08:05:41 2003
+++ textproc/dictfmt/files/patch-dictP.h	Thu Jan  1 09:00:00 1970
@@ -1,19 +0,0 @@
---- dictP.h.orig
-+++ dictP.h
-@@ -99,13 +99,13 @@
- #if HAVE_WINT_T && HAVE_WCHAR_H
- #include <wchar.h>
- #else
--#typedef unsigned int wint_t;
-+typedef unsigned int wint_t;
- #endif
- 
--#if !HAVE_WCHAR_T && HAVE_WCHAR_H
-+#if HAVE_WCHAR_T && HAVE_WCHAR_H
- #include <wchar.h>
- #else
--#typedef unsigned int wchar_t;
-+typedef unsigned int wchar_t;
- #endif
- 
- #if !HAVE_MBSTATE_T
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list