ports/56436: Update port: math/oleo
KATO Tsuguru
tkato at prontomail.com
Thu Sep 4 14:10:32 UTC 2003
>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:
More information about the freebsd-ports-bugs
mailing list