ports/66102: [PATCH] devel/pth: [Optimized CFLAGS]
michael johnson
ahze at ahze.net
Fri Apr 30 06:00:37 UTC 2004
>Number: 66102
>Category: ports
>Synopsis: [PATCH] devel/pth: [Optimized CFLAGS]
>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 Apr 29 23:00:36 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator: michael johnson
>Release: FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD gentoo.ahze.net 5.2-CURRENT FreeBSD 5.2-CURRENT #43: Thu Apr 22 05:38:22 EDT 2004
>Description:
- Use optimized CFLAGS when WITH_OPTIMIZED_CFLAGS is defined
from make test with WITH_OPTIMIZED_CFLAGS defined.
OK - ALL TESTS SUCCESSFULLY PASSED.
Please send the following summary line via Email to the author
Ralf S. Engelschall <rse at engelschall.com> for inclusion into
the list of successfully tested platforms (see PORTING file):
Pth: OK: i386-portbld-freebsd5.2 | mcsc/sc/mc | down | 2.0.0
OK - ALL TESTS SUCCESSFULLY PASSED.
Please send the following summary line via Email to the author
Ralf S. Engelschall <rse at engelschall.com> for inclusion into
the list of successfully tested platforms (see PORTING file):
Pth: OK: i386-portbld-freebsd4.10 | sjlj/ssjlj/sas | down | 2.0.0
Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:
--- pth-2.0.0.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/pth/Makefile,v
retrieving revision 1.64
diff -u -r1.64 Makefile
--- Makefile 10 Apr 2004 17:26:33 -0000 1.64
+++ Makefile 30 Apr 2004 05:49:18 -0000
@@ -30,9 +30,12 @@
MAN3= pth.3 pthread.3
post-patch:
+.if !defined(WITH_OPTIMIZED_CFLAGS) || defined(WITHOUT_OPTIMIZED_CFLAGS)
${REINPLACE_CMD} -e \
"s,-funroll-loops -fstrength-reduce -fomit-frame-pointer -ffast-math,${CFLAGS}," \
${WRKSRC}/configure
+.endif
+
post-build:
@${ECHO_MSG} "===> Use 'make test' to run a quick test suite."
--- pth-2.0.0.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list