summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2003-09-24 12:33:22 +0000
committertron <tron@pkgsrc.org>2003-09-24 12:33:22 +0000
commit48a82c8e70f8de2965903809d91a732078852798 (patch)
tree1a43acfa2d7e8b24e21894507481f1ddafae347b /emulators
parentf8dc52ce38cd225e17b0e74e4978ad4dc46cceeb (diff)
downloadpkgsrc-48a82c8e70f8de2965903809d91a732078852798.tar.gz
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.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/uae/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/emulators/uae/Makefile b/emulators/uae/Makefile
index 9be670f2604..ca7be45ef0a 100644
--- a/emulators/uae/Makefile
+++ b/emulators/uae/Makefile
@@ -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