Date: Tue, 31 Jan 2006 23:00:36 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/92614: Update port: editors/zile to 2.2.11 Message-ID: <20060131230036.24b0a01c.tkato432@yahoo.com> Resent-Message-ID: <200601311410.k0VEA5L9057062@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 92614 >Category: ports >Synopsis: Update port: editors/zile to 2.2.11 >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: Tue Jan 31 14:10:04 GMT 2006 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.11-RELEASE-p14 i386 >Organization: >Environment: >Description: - Update to version 2.2.11 Remove file: files/patch-configure >How-To-Repeat: >Fix: diff -urN /usr/ports/editors/zile/Makefile editors/zile/Makefile --- /usr/ports/editors/zile/Makefile Tue Nov 8 02:33:49 2005 +++ editors/zile/Makefile Sun Jan 29 23:05:57 2006 @@ -6,7 +6,7 @@ # PORTNAME= zile -PORTVERSION= 2.2.9 +PORTVERSION= 2.2.11 CATEGORIES= editors MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -15,9 +15,11 @@ COMMENT= Small emacs-like text editor USE_GETOPT_LONG=yes +USE_RENPLACE= yes GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} -CONFIGURE_ARGS= --disable-allegro --disable-epocemx +CONFIGURE_ENV= LIBS="-lgnuregex" +CONFIGURE_ARGS= --disable-allegro --disable-epocemx MAN1= zile.1 INFO= zile @@ -25,4 +27,20 @@ %%DATADIR%%/TUTORIAL %%DATADIR%%/dotzile.sample PLIST_DIRS= %%DATADIR%% -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${OSVERSION} > 502010 +GNU_REGEX_H= gnu/regex.h +.else +GNU_REGEX_H= gnuregex.h +.endif + +post-patch: + @${REINPLACE_CMD} -e \ + 's|<regex\.h>|<${GNU_REGEX_H}>|g ; \ + s|_regex_h|_${GNU_REGEX_H:S/\//_/g:S/./_/g}|g ; \ + s|-pedantic||g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e \ + 's|<regex\.h>|<${GNU_REGEX_H}>|g' ${WRKSRC}/src/search.c + +.include <bsd.port.post.mk> diff -urN /usr/ports/editors/zile/distinfo editors/zile/distinfo --- /usr/ports/editors/zile/distinfo Sat Nov 26 19:23:37 2005 +++ editors/zile/distinfo Fri Jan 27 13:57:17 2006 @@ -1,3 +1,3 @@ -MD5 (zile-2.2.9.tar.gz) = 8bf8d2a51b2f110771e8c80e16a25de2 -SHA256 (zile-2.2.9.tar.gz) = a839c128d3094d035c9d87a2ffbb46c933653bf2b01e09b717ec737c7b848193 -SIZE (zile-2.2.9.tar.gz) = 329533 +MD5 (zile-2.2.11.tar.gz) = 0f498e6d8b3d2262f8da913de9e40de5 +SHA256 (zile-2.2.11.tar.gz) = f1e84a3da2fc210e75a5ea9fda89147bd264b453b7248c243885b6a324543ea4 +SIZE (zile-2.2.11.tar.gz) = 329618 diff -urN /usr/ports/editors/zile/files/patch-configure editors/zile/files/patch-configure --- /usr/ports/editors/zile/files/patch-configure Tue Aug 30 11:13:00 2005 +++ editors/zile/files/patch-configure Thu Jan 1 09:00:00 1970 @@ -1,11 +0,0 @@ ---- configure.orig Mon Aug 8 08:08:03 2005 -+++ configure Sat Aug 20 22:50:30 2005 -@@ -3993,7 +3993,7 @@ - - - if test "$GCC" = "yes"; then -- CFLAGS="$CFLAGS -Wall -W -Wmissing-prototypes -Wstrict-prototypes -pedantic" -+ CFLAGS="$CFLAGS -Wall -W -Wmissing-prototypes -Wstrict-prototypes" - fi - - >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060131230036.24b0a01c.tkato432>