Date: Thu, 6 Mar 2008 20:34:37 GMT From: bf <bf2006a@yahoo.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/121441: [PATCH]archivers/szip: respect CFLAGS Message-ID: <200803062034.m26KYb74011600@www.freebsd.org> Resent-Message-ID: <200803062040.m26Ke17K023382@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 121441 >Category: ports >Synopsis: [PATCH]archivers/szip: respect 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 Mar 06 20:40:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: bf >Release: 7-STABLE i386 >Organization: - >Environment: >Description: source makefile redefines CFLAGS >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruN szip.orig/Makefile szip/Makefile --- szip.orig/Makefile 2006-07-23 10:22:12.000000000 -0400 +++ szip/Makefile 2008-03-06 15:26:18.821159466 -0500 @@ -24,6 +24,7 @@ post-patch: @${REINPLACE_CMD} -e 's,more logfile,cat logfile,' \ + -e 's,%%CFLAGS%%,${CFLAGS},' \ ${WRKSRC}/makefile do-build: diff -ruN szip.orig/files/patch-makefile szip/files/patch-makefile --- szip.orig/files/patch-makefile 1969-12-31 19:00:00.000000000 -0500 +++ szip/files/patch-makefile 2008-03-06 15:25:12.501362955 -0500 @@ -0,0 +1,14 @@ +--- makefile.orig 2008-03-06 15:18:24.541994376 -0500 ++++ makefile 2008-03-06 15:19:36.138089132 -0500 +@@ -1,4 +1,3 @@ +-CFLAGS = -O6 -Wall -fomit-frame-pointer -funroll-loops + NAME = szip_112b_$(shell uname)_$(shell uname -m).tar + %.exe : % + +@@ -22,4 +21,4 @@ + tar -cf $(NAME) szip readme.txt techinfo.txt history.txt + gzip $(NAME) + clean: +- -rm *.o szip check logfile +\ No newline at end of file ++ -rm *.o szip check logfile >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803062034.m26KYb74011600>