summaryrefslogtreecommitdiffstats
path: root/archivers/lha/files/patch-aa
blob: 0e750dc69e952a788ccbef01c5a57a7a29b58eac (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
38
39
40
41
42
--- Makefile.orig	Sat May  6 18:55:15 2000
+++ Makefile	Mon Aug 14 19:41:44 2000
@@ -11,27 +11,27 @@
 #-----------------------------------------------------------------------
 
 SHELL=/bin/sh
-MAKE = make
+#MAKE = make
 
 #CC			= cc
-CC			= gcc
-SWITCHES	= -DNEED_INCREMENTAL_INDICATOR \
- -DTMP_FILENAME_TEMPLATE="\"/tmp/lhXXXXXX\""
+#CC			= gcc
+SWITCHES        = -DNEED_INCREMENTAL_INDICATOR
 
 #MACHINE     = -DSYSTIME_HAS_NO_TM -DFTIME -DEUC
 #MACHINE     = -DSYSTIME_HAS_NO_TM -DEUC -DHAVE_TM_ZONE -DSYSV_SYSTEM_DIR
-MACHINE     = -DSYSTIME_HAS_NO_TM -DEUC -DSYSV_SYSTEM_DIR -DMKTIME
+MACHINE     = -DSYSTIME_HAS_NO_TM -DEUC -DSYSV_SYSTEM_DIR -DTIMELOCAL -DUSESTRCASECMP
 
 #OPTIMIZE	= -O2 -fstrength-reduce -fomit-frame-pointer
-OPTIMIZE	= -O2 -DSUPPORT_LH7
+OPTIMIZE       	= ${CFLAGS} -DSUPPORT_LH7
 
-BINDIR = /usr/local/bin
-MANDIR = /usr/local/man
-MANSECT = n
+PREFIX ?= /usr/local
+BINDIR = ${PREFIX}/bin
+MANDIR = ${PREFIX}/man/ja
+MANSECT = 1
 
-INSTALL = install
-INSTALLBIN = -s -m 755
-INSTALLMAN = -m 644
+#INSTALL = install
+INSTALLBIN = -c -s -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}
+INSTALLMAN = -c -o ${MANOWN} -g ${MANGRP} -m ${MANMODE}
 
 SUBDIRS = src man
 
OpenPOWER on IntegriCloud