Module Name:    src
Committed By:   christos
Date:           Sun Jan 31 23:11:49 UTC 2016

Modified Files:
        src/sbin/disklabel: Makefile

Log Message:
fix broken patch


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/sbin/disklabel/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sbin/disklabel/Makefile
diff -u src/sbin/disklabel/Makefile:1.71 src/sbin/disklabel/Makefile:1.72
--- src/sbin/disklabel/Makefile:1.71	Sun Jan 31 13:57:29 2016
+++ src/sbin/disklabel/Makefile	Sun Jan 31 18:11:49 2016
@@ -1,44 +1,4 @@
-# $NetBSD: Makefile,v 1.71 2016/01/31 18:57:29 christos Exp $
-# Build a small disklabel (for tiny boot media)
-
-SRCDIR=	${.CURDIR}/../../../sbin/disklabel
-
-PROG=	disklabel
-SRCS=	main.c dkcksum.c printlabel.c
-#SRCS+=	interact.c
-NOMAN=	# defined
-
-CPPFLAGS+=	-DNO_INTERACT
-CPPFLAGS+=	-DNATIVELABEL_ONLY
-
-DPADD+= ${LIBUTIL}
-LDADD+= -lutil
-
-# these have additional requirements on the alignment of a partition
-.if (${MACHINE} == "sparc") || (${MACHINE} == "sparc64") \
-	|| (${MACHINE} == "sun3")
-CPPFLAGS+= -DSTRICT_CYLINDER_ALIGNMENT
-.endif
-
-.if (${MACHINE} == "acorn32" || ${MACHINE} == "acorn26")
-# Support FileCore boot block
-CPPFLAGS+= -DUSE_ACORN
-.endif
-
-.if (${MACHINE_ARCH} == "alpha")
-# alpha requires boot block checksum
-CPPFLAGS+= -DALPHA_BOOTBLOCK_CKSUM
-.endif
-
-.if (${MACHINE_ARCH} == "vax")
-# vax requires labels in alternative sectors on SMD disk
-CPPFLAGS+= -DVAX_ALTLABELS
-.endif
-
-.include <bsd.prog.mk>
-
-.PATH:	${SRCDIR}
-#	$NetBSD: Makefile,v 1.71 2016/01/31 18:57:29 christos Exp $
+#	$NetBSD: Makefile,v 1.72 2016/01/31 23:11:49 christos Exp $
 #	@(#)Makefile	8.2 (Berkeley) 3/17/94
 
 PROG=	disklabel

Reply via email to