Date: Fri, 14 Jul 2006 23:21:44 +0400 (MSD) From: Stanislav Sedov <ssedov@mbsd.msk.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/100304: [MAINTAINER] cad/jspice3: fix build for non-USA locale hosts Message-ID: <20060714192144.17B1D126B1@fonon.realnet> Resent-Message-ID: <200607141930.k6EJUGMc020687@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 100304 >Category: ports >Synopsis: [MAINTAINER] cad/jspice3: fix build for non-USA locale hosts >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Jul 14 19:30:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Stanislav Sedov >Release: FreeBSD 7.0-CURRENT i386 >Organization: MBSD labs, Inc. >Environment: System: FreeBSD fonon.realnet 7.0-CURRENT FreeBSD 7.0-CURRENT #7: Sun Jun 18 20:51:36 MSD 2006 >Description: Jspice doesn't builds on hosts with some non-C locales (russian, for example). 'build' script produces DATE string using system /bin/date program, and when locale isn't 'C' and generated DATE string contains special character (parenthis, e.g.) this string is not parseable by make utility. So build fails. Added file(s): - files/patch-build >How-To-Repeat: >Fix: --- jspice3-2.5_1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/cad/jspice3/Makefile /var/tmp/work4/jspice3/Makefile --- /usr/ports/cad/jspice3/Makefile Tue Jul 11 23:34:45 2006 +++ /var/tmp/work4/jspice3/Makefile Fri Jul 14 23:16:54 2006 @@ -7,6 +7,7 @@ PORTNAME= jspice3 PORTVERSION= 2.5 +PORTREVISION= 1 CATEGORIES= cad MASTER_SITES= http://www.wrcad.com/ftp/pub/ \ ftp://ftp.srware.com/pub/ diff -ruN --exclude=CVS /usr/ports/cad/jspice3/files/patch-build /var/tmp/work4/jspice3/files/patch-build --- /usr/ports/cad/jspice3/files/patch-build Thu Jan 1 03:00:00 1970 +++ /var/tmp/work4/jspice3/files/patch-build Fri Jul 14 23:08:11 2006 @@ -0,0 +1,11 @@ +--- build.orig Fri Jul 14 23:07:15 2006 ++++ build Fri Jul 14 23:07:32 2006 +@@ -22,7 +22,7 @@ + echo '#######################################################################'> conf/mkheader.in + echo '####### Makefile generated by build script ############################'>> conf/mkheader.in + echo VERSION = $version>> conf/mkheader.in +- echo DATE = `/bin/date`>> conf/mkheader.in ++ echo DATE = `/bin/env LANG=C /bin/date`>> conf/mkheader.in + echo '#######################################################################'>> conf/mkheader.in + cat conf/unixconf/mkheader.0 >> conf/mkheader.in + else --- jspice3-2.5_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060714192144.17B1D126B1>