diff options
author | grant <grant@pkgsrc.org> | 2002-11-17 15:11:40 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2002-11-17 15:11:40 +0000 |
commit | cf547a37872a2a9abcdd0e8e78a9d9a4ad604230 (patch) | |
tree | fcd80d791a705f79800de3981e7b857cc09b47c2 /mk/bsd.prefs.mk | |
parent | 85f65fca114a1db9d3b0100b85adc73b4ae89f4b (diff) | |
download | pkgsrc-cf547a37872a2a9abcdd0e8e78a9d9a4ad604230.tar.gz |
Add initial pkgsrc FreeBSD support :-)
Tested on FreeBSD 4.7-RELEASE/i386.
Diffstat (limited to 'mk/bsd.prefs.mk')
-rw-r--r-- | mk/bsd.prefs.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk index d93b4f7a765..f1a95f89a34 100644 --- a/mk/bsd.prefs.mk +++ b/mk/bsd.prefs.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.prefs.mk,v 1.89 2002/11/01 06:29:23 jlam Exp $ +# $NetBSD: bsd.prefs.mk,v 1.90 2002/11/17 15:11:40 grant Exp $ # # Make file, included to get the site preferences, if any. Should # only be included by package Makefiles before any .if defined() @@ -66,6 +66,13 @@ MACHINE_GNU_ARCH?= ${GNU_ARCH.${MACHINE_ARCH}} .if ${OPSYS} == "NetBSD" LOWER_OPSYS?= netbsd +.elif ${OPSYS} == "FreeBSD" +LOWER_OPSYS?= freebsd +LOWER_ARCH!= ${UNAME} -p +MACHINE_ARCH= ${LOWER_ARCH} +MAKEFLAGS+= LOWER_ARCH=${LOWER_ARCH} +LOWER_VENDOR?= pc + .elif ${OPSYS} == "SunOS" . if ${MACHINE_ARCH} == "sparc" SPARC_TARGET_ARCH?= sparcv7 |