Source-Changes-HG archive

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

[src/trunk]: src/gnu/usr.bin/egcs/g77 Fix the last commit. We need to use the...



details:   https://anonhg.NetBSD.org/src/rev/9cfe39a2b9b7
branches:  trunk
changeset: 495799:9cfe39a2b9b7
user:      veego <veego%NetBSD.org@localhost>
date:      Sun Aug 06 19:41:18 2000 +0000

description:
Fix the last commit. We need to use the parts with ${DIST} after <bsd.prog.mk>
because that includes the ../Makefile.inc.

diffstat:

 gnu/usr.bin/egcs/g77/Makefile |  13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diffs (35 lines):

diff -r dc26b15080f4 -r 9cfe39a2b9b7 gnu/usr.bin/egcs/g77/Makefile
--- a/gnu/usr.bin/egcs/g77/Makefile     Sun Aug 06 19:32:13 2000 +0000
+++ b/gnu/usr.bin/egcs/g77/Makefile     Sun Aug 06 19:41:18 2000 +0000
@@ -1,5 +1,5 @@
 #      from: @{#}Makefile    6.2 (Berkeley) 3/25/91
-#      $NetBSD: Makefile,v 1.10 2000/08/06 15:26:56 mrg Exp $
+#      $NetBSD: Makefile,v 1.11 2000/08/06 19:41:18 veego Exp $
 
 .include <bsd.own.mk>
 
@@ -9,12 +9,8 @@
                pexecute.c prefix.c mkstemp.c obstack.c
 BINDIR=                /usr/bin
 CPPFLAGS+=     -DLANG_SPECIFIC_DRIVER
-CPPFLAGS+=     -I${DIST}/f
 
 LINKS+=                ${BINDIR}/g77 ${BINDIR}/f77 ${BINDIR}/g77 ${BINDIR}/fort77
-
-g77version.o: ${DIST}/f/version.c
-       ${COMPILE.c} -o $@ $>
 .endif
 
 MAN=           g77.1
@@ -22,4 +18,11 @@
 
 .include <bsd.prog.mk>
 
+.if (${MACHINE_ARCH} != "sparc64")
+g77version.o: ${DIST}/f/version.c
+       ${COMPILE.c} -o $@ $>
+
+CPPFLAGS+=     -I${DIST}/f
+.endif
+
 .PATH:         ${DIST}/f



Home | Main Index | Thread Index | Old Index