[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
speed up bsd.port.mk slightly
- To: ports_(_at_)_openbsd_(_dot_)_org
- Subject: speed up bsd.port.mk slightly
- From: Marc Espie <espie_(_at_)_schutzenberger_(_dot_)_liafa_(_dot_)_jussieu_(_dot_)_fr>
- Date: Wed, 27 Oct 1999 02:06:57 +0200
- Reply-to: Marc_(_dot_)_Espie_(_at_)_liafa_(_dot_)_jussieu_(_dot_)_fr
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