diff options
author | schwarz <schwarz> | 2006-08-06 18:59:41 +0000 |
---|---|---|
committer | schwarz <schwarz> | 2006-08-06 18:59:41 +0000 |
commit | 0fdbd409b09e9651b3a8ccba17752d7ecc1c8b94 (patch) | |
tree | 83039065d6f2b4dee8d811ea70d5a72b39c7e1dc /pkgtools | |
parent | 1064e26ff63b956fc2d0a78ae36018490ba9bf31 (diff) | |
download | pkgsrc-0fdbd409b09e9651b3a8ccba17752d7ecc1c8b94.tar.gz |
CPP on IRIX 5 with IDO cc is /usr/lib/cpp
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/bootstrap-mk-files/files/mods/IRIX.sys.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgtools/bootstrap-mk-files/files/mods/IRIX.sys.mk b/pkgtools/bootstrap-mk-files/files/mods/IRIX.sys.mk index 65bb989eb94..a0760fb899b 100644 --- a/pkgtools/bootstrap-mk-files/files/mods/IRIX.sys.mk +++ b/pkgtools/bootstrap-mk-files/files/mods/IRIX.sys.mk @@ -1,4 +1,4 @@ -# $NetBSD: IRIX.sys.mk,v 1.1.1.1 2006/07/14 23:13:01 jlam Exp $ +# $NetBSD: IRIX.sys.mk,v 1.2 2006/08/06 18:59:41 schwarz Exp $ # @(#)sys.mk 8.2 (Berkeley) 3/21/94 unix?= We run Unix @@ -37,7 +37,12 @@ OBJCFLAGS?= ${CFLAGS} COMPILE.m?= ${OBJC} ${OBJCFLAGS} ${CPPFLAGS} -c LINK.m?= ${OBJC} ${OBJCFLAGS} ${CPPFLAGS} ${LDFLAGS} +_IRIXVERS!= uname -r +.if !empty(_IRIXVERS:M6*) CPP?= CC -E +.else +CPP?= cpp +.endif CPPFLAGS?= FC?= f77 |