bsd.port.options.mk can handle testing of ARCH, and is less expensive

then inclusion of bsd.port.pre.mk

PR:		180585
Submitted by:	jgh
This commit is contained in:
Christian Weisgerber 2013-09-19 15:30:16 +00:00
parent be6d645e4f
commit c8d9d34f2b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=327632

View file

@ -21,10 +21,10 @@ CONFIGURE_ARGS= --enable-custom-modes \
regression-test: build
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check
.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>
.if ${ARCH} == "arm"
CONFIGURE_ARGS+=--enable-fixed-point
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>