Date: Mon, 2 Feb 2004 11:44:59 +0100 (CET) From: Volker Stolz <stolz@i2.informatik.rwth-aachen.de> To: FreeBSD-gnats-submit@FreeBSD.org Cc: lintux@debian.org Subject: ports/62251: [patch] textproc/rotix: fix build (bento) Message-ID: <200402021044.i12Aixva076132@menelaos.informatik.rwth-aachen.de> Resent-Message-ID: <200402021050.i12Ao9KT023711@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 62251 >Category: ports >Synopsis: [patch] textproc/rotix: fix build (bento) >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: Mon Feb 02 02:50:09 PST 2004 >Closed-Date: >Last-Modified: >Originator: Volker Stolz >Release: FreeBSD 4.9-STABLE i386 >Organization: Lehrstuhl für Informatik II >Environment: System: FreeBSD menelaos.informatik.rwth-aachen.de 4.9-STABLE FreeBSD 4.9-STABLE #12: Mon Dec 8 15:14:27 CET 2003 root@menelaos.informatik.rwth-aachen.de:/usr/obj/usr/src/sys/MENELAOS i386 >Description: 'expr -- --i18n=1' doesn't work on -STABLE. Revert to 'expr --i18n=1' and set EXPR_COMPAT in CONFIGURE_ENV for -CURRENT. PLIST_FILESify while here. Noticed by bento. >How-To-Repeat: http://bento.freebsd.org/errorlogs/i386-4-latest/rotix-0.82_2.log >Fix: Removed file: pkg-plist --- rotix begins here --- diff -urN /usr/ports/textproc/rotix/Makefile rotix/Makefile --- /usr/ports/textproc/rotix/Makefile Mon Feb 2 11:24:05 2004 +++ rotix/Makefile Mon Feb 2 11:23:43 2004 @@ -21,8 +21,11 @@ HAS_CONFIGURE= yes USE_REINPLACE= yes CONFIGURE_ARGS= --prefix=${PREFIX} --mandir=${PREFIX}/man --i18n=1 +CONFIGURE_ENV= EXPR_COMPAT=1 MAN1= rotix.1 + +PLIST_FILES= bin/rotix share/locale/nl/LC_MESSAGES/rotix.mo post-patch: @${REINPLACE_CMD} -e 's,%%CFLAGS%%,${CFLAGS},; s,%%LOCALBASE%%,${LOCALBASE},;' \ diff -urN /usr/ports/textproc/rotix/files/patch-configure rotix/files/patch-configure --- /usr/ports/textproc/rotix/files/patch-configure Sun Oct 20 12:30:53 2002 +++ rotix/files/patch-configure Mon Feb 2 11:24:26 2004 @@ -1,14 +1,5 @@ --- configure.orig Sun Jan 27 13:00:06 2002 +++ configure Sun Oct 20 03:32:06 2002 -@@ -17,7 +17,7 @@ - arch=`uname -s` - - while [ -n "$1" ]; do -- e="`expr "$1" : '--\(.*=.*\)'`" -+ e="`expr -- "$1" : '--\(.*=.*\)'`" - if [ -z "$e" ]; then - cat<<EOF - Rotix configure @@ -83,9 +83,9 @@ fi diff -urN /usr/ports/textproc/rotix/pkg-plist rotix/pkg-plist --- /usr/ports/textproc/rotix/pkg-plist Wed Dec 12 07:12:02 2001 +++ rotix/pkg-plist Thu Jan 1 01:00:00 1970 @@ -1,2 +0,0 @@ -bin/rotix -share/locale/nl/LC_MESSAGES/rotix.mo --- rotix ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402021044.i12Aixva076132>