ports/91927: [Maintainer Update] x11-wm/jwm - respect CFLAGS

Babak Farrokhi babak at farrokhi.net
Tue Jan 17 21:30:27 UTC 2006


>Number:         91927
>Category:       ports
>Synopsis:       [Maintainer Update] x11-wm/jwm - respect CFLAGS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 17 21:30:07 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Babak Farrokhi
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
>Environment:


System: FreeBSD 6.0-STABLE #3: Fri Jan 13 14:19:06 IRST 2006
    root at home.farrokhi.net:/usr/obj/usr/src/sys/HOME



>Description:


- remove default -O2 optimization flag, use systems CFLAGS


>How-To-Repeat:





>Fix:


--- jwm.patch begins here ---
diff -ruN jwm.orig/Makefile jwm/Makefile
--- jwm.orig/Makefile	Tue Jan 17 22:17:14 2006
+++ jwm/Makefile	Tue Jan 17 22:18:01 2006
@@ -31,7 +31,8 @@
 	    @${REINPLACE_CMD} -e 's,^CC =,CC ?=,' \
 	        -e 's,^CFLAGS =,CFLAGS +=,' \
 		${WRKSRC}/src/Makefile.in
-
+	    @${REINPLACE_CMD} -e 's|\-O2||' ${WRKSRC}/configure
+	
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/src/jwm ${PREFIX}/bin
 	${INSTALL_DATA} ${WRKSRC}/example.jwmrc ${PREFIX}/etc/system.jwmrc
--- jwm.patch ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list