summaryrefslogtreecommitdiff
path: root/archivers/afio/patches/patch-aa
blob: 32b979c871363feea25a9c72346e50e4ca778994 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
$NetBSD: patch-aa,v 1.1.1.1 2003/06/27 10:17:58 agc Exp $

--- Makefile	2003/06/27 09:37:50	1.1
+++ Makefile	2003/06/27 09:39:40
@@ -26,7 +26,7 @@
 c	= -DHAVEMEMCMP
 ##  Define DEFFMTCMD to being how to format the media you use the most
 ##		This is the DEFault FoRMat CoManD. 
-d	= -DDEFFMTCMD='"fdformat /dev/fd0H1440"'
+d	= -DDEFFMTCMD='"cdrecord dev=/dev/rcd0d -v -force blank=all"' # or '"fdformat /dev/fd0a"'
 ##  Define LONGZFILE if you want .Z to be tagged on the end of a 14 char
 ##	file name (or longer for BSD) in the archive when the file is compressed
 #e	= -DLONGZFILE
@@ -56,10 +56,10 @@
 
 #CFLAGS1 = -ggdb
 #CFLAGS1 = -Wall -s -g -O2 -fomit-frame-pointer
-CFLAGS1 = -Wall -O2 -fomit-frame-pointer
+#CFLAGS1 = -Wall -O2 -fomit-frame-pointer
 
 
-CC=gcc
+#CC=gcc
 
 
 CFLAGS = ${CFLAGS1} $1 $2 $3 $4 $5 $6 $7 $8 $9 $a $b $c $d $e $f $g $I
@@ -72,8 +72,8 @@
 	rm -f *.o afio
 
 install: afio
-	cp afio /usr/bin
-	cp afio.1 /usr/man/man1
+	cp afio ${PREFIX}/bin
+	cp afio.1 ${PREFIX}/man/man1
 
 
 afio.o : afio.h patchlevel.h