1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/archivers/lha/files/patch-aa
Munechika SUMIKAWA 2328305e42 update to 1.14f
PR:		13412
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
Reviewed by:	sumikawa
1999-09-01 18:41:23 +00:00

43 lines
1.1 KiB
Plaintext

--- Makefile.orig Sun Aug 29 01:36:34 1999
+++ Makefile Thu Sep 2 03:33:33 1999
@@ -11,27 +11,26 @@
#-----------------------------------------------------------------------
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 -DEUC -DSUPPORT_LH6
#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 -DSYSV_SYSTEM_DIR -DMKTIME -DUSESTRCASECMP
-#OPTIMIZE = -O2 -fstrength-reduce -fomit-frame-pointer
-OPTIMIZE = -O2 -DSUPPORT_LH6
+OPTIMIZE = ${CFLAGS}
-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