summaryrefslogtreecommitdiff
path: root/sysutils/cd-write
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1998-11-11 05:37:39 +0000
committerSatoshi Asami <asami@FreeBSD.org>1998-11-11 05:37:39 +0000
commitdbc8aa6cc1cb1abadce30cfe133c7a5c2ed2f34b (patch)
treedeebef625a152490a0bbcb7e5602d05a59b1c010 /sysutils/cd-write
parentMake bsd.port.mk includable in two phases. bsd.port.pre.mk defines only (diff)
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.)
Notes
Notes: svn path=/head/; revision=14465
Diffstat (limited to 'sysutils/cd-write')
-rw-r--r--sysutils/cd-write/Makefile7
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>