Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Sep 2003 23:00:31 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/56436: Update port: math/oleo
Message-ID:  <20030904230031.6b35e879.tkato@prontomail.com>
Resent-Message-ID: <200309041410.h84EAJFs088162@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         56436
>Category:       ports
>Synopsis:       Update port: math/oleo
>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:   Thu Sep 04 07:10:19 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Fix build

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/math/oleo/Makefile math/oleo/Makefile
--- /usr/ports/math/oleo/Makefile	Wed Aug 27 09:36:06 2003
+++ math/oleo/Makefile	Thu Sep  4 22:05:25 2003
@@ -47,7 +47,13 @@
 .endif
 
 post-patch:
-	@${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} \
-		${REINPLACE_CMD} -e "s|<malloc.h>|<stdlib.h>|g"
+	@${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
+		's|malloc\.h|stdlib.h|g'
+
+pre-build:
+.for file in src/io-term.c
+	cd ${WRKSRC} && ${MV} ${file} ${file}.pre_iconv \
+		&& iconv -c -t ascii ${file}.pre_iconv > ${file} || ${TRUE}
+.endfor
 
 .include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030904230031.6b35e879.tkato>