From dbc8aa6cc1cb1abadce30cfe133c7a5c2ed2f34b Mon Sep 17 00:00:00 2001 From: Satoshi Asami Date: Wed, 11 Nov 1998 05:37:39 +0000 Subject: Use bsd.port.{pre,post}.mk. Either use them to avoid having to define something already there (PORTOBJFORMAT, OSVERSION) or move stuff from after .include to before. (This is not by any means the complete list but just the ones I've noticed recently.) --- net/rdist6/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'net/rdist6') diff --git a/net/rdist6/Makefile b/net/rdist6/Makefile index 4ed2f27206ed..33ed73ecd96d 100644 --- a/net/rdist6/Makefile +++ b/net/rdist6/Makefile @@ -3,7 +3,7 @@ # Date created: 19 August 1995 # Whom: peter # -# $Id: Makefile,v 1.14 1998/08/22 17:27:00 hoek Exp $ +# $Id: Makefile,v 1.15 1998/10/14 00:10:17 jseger Exp $ # DISTNAME= rdist-6.1.4 @@ -14,7 +14,8 @@ MASTER_SITES= http://www.magnicomp.com/download/rdist/ \ MAINTAINER= peter@FreeBSD.org -OSVERSION!= sysctl -n kern.osreldate +.include + .if ${OSVERSION} >= 300000 BROKEN= MOUNT_NFS undeclared .endif @@ -32,4 +33,4 @@ post-install: @strip ${PREFIX}/bin/${RDIST_NAME} @strip ${PREFIX}/bin/rdistd -.include +.include -- cgit v1.2.3