diff options
author | asami <asami@FreeBSD.org> | 1998-11-11 13:37:39 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1998-11-11 13:37:39 +0800 |
commit | 559e1bc28bd975c38b561de15be3918ba1f71b5e (patch) | |
tree | cda169bf1e41b7166c2d2febd3d858c1411d0e64 /sysutils/cd-write | |
parent | 7aed28166a84f266be861367fc9a1add43f9219a (diff) | |
download | freebsd-ports-gnome-559e1bc28bd975c38b561de15be3918ba1f71b5e.tar.gz freebsd-ports-gnome-559e1bc28bd975c38b561de15be3918ba1f71b5e.tar.zst freebsd-ports-gnome-559e1bc28bd975c38b561de15be3918ba1f71b5e.zip |
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 <bsd.port.mk> to before.
(This is not by any means the complete list but just the ones I've noticed
recently.)
Diffstat (limited to 'sysutils/cd-write')
-rw-r--r-- | sysutils/cd-write/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sysutils/cd-write/Makefile b/sysutils/cd-write/Makefile index 85e8d9add2aa..60eccb8d90f4 100644 --- a/sysutils/cd-write/Makefile +++ b/sysutils/cd-write/Makefile @@ -3,7 +3,7 @@ # Date created: 1 May 1997 # Whom: jmz # -# $Id: Makefile,v 1.10 1998/10/09 10:05:56 asami Exp $ +# $Id: Makefile,v 1.11 1998/10/14 10:41:59 jseger Exp $ # DISTNAME= cd-write-1.4 @@ -16,7 +16,8 @@ LIB_DEPENDS= tixsam4180.1:${PORTSDIR}/x11-toolkits/tix WRKSRC= ${WRKDIR}/cd-write -OSVERSION!= sysctl -n kern.osreldate +.include <bsd.port.pre.mk> + .if ${OSVERSION} >= 300000 BROKEN= scsi.h .endif @@ -31,4 +32,4 @@ pre-build: post-install: @PREFIX=${PREFIX} ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL -.include <bsd.port.mk> +.include <bsd.port.post.mk> |