devel/apr1 ignores CFLAGS setting

Mikhail Teterin mi at symbion.zaytman.com
Thu Apr 11 15:30:57 UTC 2013


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


More information about the freebsd-apache mailing list