Use new variable "CC_VERSION" instead of NetBSD-current specific

variable "HAVE_GCC3" to find out if the GCC 3.x work arround is required.
This commit is contained in:
tron 2003-09-24 12:33:22 +00:00
parent f8dc52ce38
commit 48a82c8e70

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.25 2003/09/23 19:05:05 tron Exp $
# $NetBSD: Makefile,v 1.26 2003/09/24 12:33:22 tron Exp $
DISTNAME= uae-0.8.22
PKGNAME= ${DISTNAME}
@ -20,8 +20,8 @@ CONFIGURE_ARGS+= --enable-dga --enable-vidmode --disable-ui
.include "../../mk/bsd.prefs.mk"
.if defined(CC_VERSION) && !empty(CC_VERSION:Mgcc-3.*)
post-configure:
.if ${OPSYS} == NetBSD && defined(HAVE_GCC3) && ${HAVE_GCC3} == yes
${TOUCH} ${WRKSRC}/src/tools/cpuopti.o
${CP} ${CAT} ${WRKSRC}/src/tools/cpuopti
.endif