Date: Thu, 11 Apr 2013 11:30:49 -0400 (EDT) From: Mikhail Teterin <mi@symbion.zaytman.com> To: apache@FreeBSD.org Subject: devel/apr1 ignores CFLAGS setting Message-ID: <201304111530.r3BFUnuf078669@symbion.zaytman.com>
index | next in thread | raw e-mail
Gentlemen!
Due to the manipulations of CONFIGURE_ENV in the port's Makefile, the system's
CFLAGS settings is getting lost. I'm not sure, how to best rearrange things for
the entire default environment to survive, but the patch below reinstates the
CFLAGS:
Index: Makefile
===================================================================
--- Makefile (revision 315784)
+++ Makefile (working copy)
@@ -40,7 +40,7 @@
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CC="${CC}"
+CONFIGURE_ENV= CC="${CC}" CFLAGS="${CFLAGS}"
NO_WRKSUBDIR= yes
APR_WRKDIR= ${WRKDIR}/apr-${APR_VERSION}
Please, commit or allow me to. Thank you! Yours,
-mi
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304111530.r3BFUnuf078669>
