Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jan 2006 00:55:22 +0330
From:      "Babak Farrokhi" <babak@farrokhi.net>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/91927: [Maintainer Update] x11-wm/jwm - respect CFLAGS
Message-ID:  <1137533122.1251@home.farrokhi.net>
Resent-Message-ID: <200601172130.k0HLU85i032328@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1137533122.1251>