Fix the build for non-C locales

PR:		100304
Submitted by:	Stanislav Sedov <ssedov@mbsd.msk.ru> (maintainer)
This commit is contained in:
Erwin Lansing 2006-07-14 19:45:19 +00:00
parent be6403e7ec
commit d4df816a84
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=167827
2 changed files with 12 additions and 0 deletions

View file

@ -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/

View file

@ -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