summaryrefslogtreecommitdiff
path: root/mk/bsd.prefs.mk
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-11-20 04:37:08 +0000
committergrant <grant@pkgsrc.org>2004-11-20 04:37:08 +0000
commit919cb8bddb93f80cac63f373c45581bfe44775a7 (patch)
tree6d158b2d9ff8e8537979aced96e3ca9facb901ec /mk/bsd.prefs.mk
parent77e4975de46fe771ca89c38d5843ee5774836416 (diff)
downloadpkgsrc-919cb8bddb93f80cac63f373c45581bfe44775a7.tar.gz
add framework support for Tru64 and the Compaq C compiler.
patches provided by Tobias Nygren <tnn at netilium dot org> with minor changes by me.
Diffstat (limited to 'mk/bsd.prefs.mk')
-rw-r--r--mk/bsd.prefs.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index 92b5970b711..783490fd325 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.176 2004/10/31 22:05:02 wiz Exp $
+# $NetBSD: bsd.prefs.mk,v 1.177 2004/11/20 04:37:08 grant Exp $
#
# Make file, included to get the site preferences, if any. Should
# only be included by package Makefiles before any .if defined()
@@ -164,6 +164,14 @@ LOWER_VENDOR?= sgi
LOWER_OPSYS?= interix3
LOWER_VENDOR?= pc
+.elif ${OPSYS} == "OSF1"
+LOWER_ARCH!= ${UNAME} -p
+MAKEFLAGS+= LOWER_ARCH=${LOWER_ARCH}
+MACHINE_ARCH?= ${LOWER_ARCH}
+OS_VERSION!= echo ${OS_VERSION} | sed -e 's/^V//'
+LOWER_OPSYS?= osf${OS_VERSION}
+LOWER_VENDOR?= dec
+
.elif !defined(LOWER_OPSYS)
LOWER_OPSYS!= echo ${OPSYS} | tr A-Z a-z
.endif