diff --git a/sysutils/coreutils/Makefile b/sysutils/coreutils/Makefile
index cc98dfcb555c..86d9611eee5a 100644
--- a/sysutils/coreutils/Makefile
+++ b/sysutils/coreutils/Makefile
@@ -1,51 +1,54 @@
 PORTNAME=	coreutils
 PORTVERSION=	9.4
 PORTREVISION=	1
 CATEGORIES=	sysutils textproc
 MASTER_SITES=	GNU
 
 MAINTAINER=	jharris@widomaker.com
 COMMENT=	Free Software Foundation core utilities
 WWW=		https://www.gnu.org/software/coreutils/
 
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		cpe iconv perl5 charsetfix tar:xz
 CPE_VENDOR=	gnu
 USE_PERL5=	build	# required for tests and man page generation
 USE_LDCONFIG=	yes
 TEST_TARGET=	check
 PIE_UNSAFE=	yes
 
 GNU_CONFIGURE=	yes
 GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 # A rather nasty hack to stop gnustat from conflicting with base gstat
 # bugs.freebsd.org/160060
 CONFIGURE_ARGS=	--program-prefix=g	\
 		--program-transform-name=s/stat/nustat/
-.if ${ARCH} == i386
-CONFIGURE_ARGS+=	--disable-year2038
-.endif
 CONFIGURE_ENV=	FORCE_UNSAFE_CONFIGURE=1
 
 CONFLICTS_INSTALL=	gdu geneweb gexpr rubygem-god # bin/gdu bin/gexpr bin/god bin/gwc
 
 INFO=		coreutils
 
 OPTIONS_DEFINE=	GMP NLS
 OPTIONS_SUB=	yes
 GMP_LIB_DEPENDS=	libgmp.so:math/gmp
 GMP_CONFIGURE_WITH=	gmp
 NLS_USES=	gettext
 NLS_CONFIGURE_ENABLE=	nls
 
 post-build:
 	@${REINPLACE_CMD} -e "s/ lib / /g" ${WRKSRC}/Makefile
 	@${TOUCH} ${WRKSRC}/doc/coreutils.info
 
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/g* \
 		${STAGEDIR}${PREFIX}/libexec/coreutils/libstdbuf.so
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == i386
+CONFIGURE_ARGS+=	--disable-year2038
+.endif
+
 .include <bsd.port.mk>