honour CFLAGS in perl ports

This commit is contained in:
sturm 2004-06-02 09:20:43 +00:00
parent c1b3eb1d96
commit 7057f0c410

View File

@ -1,12 +1,15 @@
#-*- mode: Fundamental; tab-width: 4; -*-
# ex:ts=4 sw=4 filetype=make:
# $OpenBSD: perl.port.mk,v 1.7 2004/05/26 11:20:26 msf Exp $
# $OpenBSD: perl.port.mk,v 1.8 2004/06/02 09:20:43 sturm Exp $
# Based on bsd.port.mk, originally by Jordan K. Hubbard.
# This file is in the public domain.
REGRESS_TARGET ?= test
MODPERL_BUILD ?= Build
CONFIGURE_ARGS+=CCFLAGS="-fno-strict-aliasing -I${LOCALBASE}/include ${CFLAGS}" \
OPTIMIZE=" "
.if ${CONFIGURE_STYLE:L:Mmodbuild}
. if !${PKGNAME:Mp5-Module-Build*}
BUILD_DEPENDS+= ::devel/p5-Module-Build