Date: Wed, 30 Jan 2002 12:37:17 +0900 From: MANTANI Nobutaka <nobutaka@nobutaka.com> To: Kris Kennaway <kris@obsecurity.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/www/w3m Makefile Message-ID: <87sn8ocxw2.wl@excalibur.nobutaka.com> In-Reply-To: <20020129190211.A75663@xor.obsecurity.org> References: <200201300255.g0U2twu76455@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
At Tue, 29 Jan 2002 19:02:12 -0800, Kris Kennaway wrote: > > I don't think this can be correct: CFLAGS should always be respected, > not hardcoded (and especially not to -O2). > > I thought I sent in a patch a few weeks ago which did this for the w3m > port. Perhaps I forgot -- I can go and find it again if you like. Thank you for pointing out it. How about this patch? Index: Makefile =================================================================== RCS file: /home/ncvs/ports/www/w3m/Makefile,v retrieving revision 1.40 diff -u -r1.40 Makefile --- Makefile 30 Jan 2002 02:55:58 -0000 1.40 +++ Makefile 30 Jan 2002 03:29:31 -0000 @@ -28,7 +28,7 @@ --helpdir-ja=${PREFIX}/share/doc/ja/w3m \ --gc-includedir=${LOCALBASE}/include \ --gc-libdir=${LOCALBASE}/lib \ - -cflags="-O2" + -cflags="${CFLAGS}" HOSTNAME!= /bin/hostname SCRIPTS_ENV= HOSTNAME=${HOSTNAME} WRKSRC=${WRKSRC} PREFIX=${PREFIX} \ CC=${CC} LOCALBASE=${LOCALBASE} JAPANESE=${JAPANESE} \ -- MANTANI Nobutaka nobutaka@FreeBSD.org, nobutaka@nobutaka.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87sn8ocxw2.wl>