pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/uae Use new variable "CC_VERSION" instead of...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/006d96b1cbdc
branches:  trunk
changeset: 461960:006d96b1cbdc
user:      tron <tron%pkgsrc.org@localhost>
date:      Wed Sep 24 12:33:22 2003 +0000

description:
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:

 emulators/uae/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r dd3cf74018cf -r 006d96b1cbdc emulators/uae/Makefile
--- a/emulators/uae/Makefile    Wed Sep 24 12:22:03 2003 +0000
+++ b/emulators/uae/Makefile    Wed Sep 24 12:33:22 2003 +0000
@@ -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 @@
 
 .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



Home | Main Index | Thread Index | Old Index