1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/archivers/lha/files/patch-aa
Jun Kuriyama 9b646d353e Update to v1.14d.
PR:		ports/8256
Submitted by:	Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>
Approved by:	ache (maintainer)
1998-11-16 22:06:19 +00:00

43 lines
1.2 KiB
Plaintext

--- Makefile.orig Wed Jan 15 18:46:08 1997
+++ Makefile Mon Mar 30 22:09:06 1998
@@ -11,26 +11,23 @@
#-----------------------------------------------------------------------
SHELL=/bin/sh
-MAKE = make
+#MAKE = make
#CC = cc
-CC = gcc
-SWITCHES = -DNEED_INCREMENTAL_INDICATOR \
- -DTMP_FILENAME_TEMPLATE="\"/tmp/lhXXXXXX\""
-#MACHINE = -DSYSTIME_HAS_NO_TM -DFTIME -DEUC
-MACHINE = -DSYSTIME_HAS_NO_TM -DEUC -DHAVE_TM_ZONE
-#OPTIMIZE = -O2 -fstrength-reduce -fomit-frame-pointer -mv8
-#OPTIMIZE = -O2 -fstrength-reduce -fomit-frame-pointer
-OPTIMIZE = -O2 -fstrength-reduce -fomit-frame-pointer
-#OPTIMIZE = -g
+#CC = gcc
+SWITCHES = -DNEED_INCREMENTAL_INDICATOR
+MACHINE = -DSYSTIME_HAS_NO_TM -DTIMELOCAL -DUSESTRCASECMP \
+ -DSYSV_SYSTEM_DIR -DEUC
+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