summaryrefslogtreecommitdiff
path: root/mk/bsd.prefs.mk
diff options
context:
space:
mode:
authorgrant <grant>2004-11-20 04:37:08 +0000
committergrant <grant>2004-11-20 04:37:08 +0000
commitde964088907030216610de9d940a7284ae6681d7 (patch)
tree6d158b2d9ff8e8537979aced96e3ca9facb901ec /mk/bsd.prefs.mk
parent2d00c4fa469e4004719e4d51c0f6bc573529d76f (diff)
downloadpkgsrc-de964088907030216610de9d940a7284ae6681d7.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