[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

speed up bsd.port.mk slightly



bsd.port.mk can trim two external processes off.
- We are OpenBSD, this doesn't work anywhere else.
- OPSYS_VER is redundant with sys.mk.

Ok to install ?


Please note that the COMES_WITH test is potentially broken, and has always 
been so. This will break in two years, if we don't switch to 3.x before
that.

Index: bsd.port.mk
===================================================================
RCS file: /cvs/ports/infrastructure/mk/bsd.port.mk,v
retrieving revision 1.130
diff -u -r1.130 bsd.port.mk
--- bsd.port.mk	1999/10/08 11:38:05	1.130
+++ bsd.port.mk	1999/10/27 00:02:17
@@ -386,8 +386,8 @@
 ARCH!=	uname -m
 
 # Get the operating system type and version
-OPSYS!=	uname -s
-OPSYS_VER!=	uname -r
+OPSYS=	OpenBSD
+OPSYS_VER=	${OSREV}
 
 .if exists(${.CURDIR}/../Makefile.inc)
 .include "${.CURDIR}/../Makefile.inc"



Visit your host, monkey.org