ports/121441: [PATCH]archivers/szip: respect CFLAGS
bf
bf2006a at yahoo.com
Thu Mar 6 20:40:01 UTC 2008
>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:
More information about the freebsd-ports-bugs
mailing list