diff options
author | reed <reed@pkgsrc.org> | 2003-12-03 21:48:33 +0000 |
---|---|---|
committer | reed <reed@pkgsrc.org> | 2003-12-03 21:48:33 +0000 |
commit | 5ac3d68c8d013f6bebc49d0219c8438f4b0e8476 (patch) | |
tree | 9655343f004e1e0cda49064c665f444358bfd590 /mk/bsd.prefs.mk | |
parent | 5e78f4c60971cd52892d06e6b0bedb2d087694ff (diff) | |
download | pkgsrc-5ac3d68c8d013f6bebc49d0219c8438f4b0e8476.tar.gz |
In bsd.prefs.mk, get rid of possible "/" in OPSYS name and define
LOWER_OPSYS for libtool use under BSD/OS.
Add initial support for using pkgsrc under BSD/OS. This was tested
under BSDI BSD/OS 4.3.1. (Thank you D. Hege.)
(Need to add BSDOS.x11.dist later.)
CVS ----------------------------------------------------------------------
Diffstat (limited to 'mk/bsd.prefs.mk')
-rw-r--r-- | mk/bsd.prefs.mk | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk index 443f61532bf..2503a3610d2 100644 --- a/mk/bsd.prefs.mk +++ b/mk/bsd.prefs.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.prefs.mk,v 1.131 2003/10/23 18:11:49 fredb Exp $ +# $NetBSD: bsd.prefs.mk,v 1.132 2003/12/03 21:48:33 reed Exp $ # # Make file, included to get the site preferences, if any. Should # only be included by package Makefiles before any .if defined() @@ -22,7 +22,7 @@ UNAME=echo Unknown .endif .ifndef OPSYS -OPSYS!= ${UNAME} -s +OPSYS!= ${UNAME} -s | tr -d / .endif MAKEFLAGS+= OPSYS=${OPSYS} .ifndef OS_VERSION @@ -58,6 +58,11 @@ MACHINE_GNU_ARCH?= ${GNU_ARCH.${MACHINE_ARCH}} .if ${OPSYS} == "NetBSD" LOWER_OPSYS?= netbsd +.elif ${OPSYS} == "BSDOS" +# ltconfig checks for bsdi4* +# assume bsdi4 for BSD/OS 3 and BSD/OS 5 too +LOWER_OPSYS?= bsdi4 + .elif ${OPSYS} == "FreeBSD" LOWER_OPSYS?= freebsd LOWER_ARCH!= ${UNAME} -p |