1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/japanese/mimekit/files/patch-aa
1997-05-07 23:40:59 +00:00

35 lines
894 B
Plaintext

--- Makefile.orig Mon Feb 17 03:41:03 1997
+++ Makefile Thu May 8 08:30:17 1997
@@ -15,7 +15,7 @@
LIBFILE = libmimekit.a
-CFLAGS = -O
+CFLAGS += -O
TARGET = all
target: $(TARGET)
libx: Makefile.go
@@ -51,7 +51,8 @@
MMDIR = ../../../src
MMSDIR = ../
-INSTDIR = /usr/local/lib
+PREFIX ?= /usr/local
+INSTDIR = ${PREFIX}/lib
LOCALFILES = README \
README.LIB \
@@ -147,9 +148,9 @@
enMime deMime bench.o test.out sample.out
install: fromMime toMime $(LIBFILE)
- install -o bin -g bin -m 755 fromMime $(INSTDIR)
- install -o bin -g bin -m 755 toMime $(INSTDIR)
- install -o root -g staff -m 644 $(LIBFILE) $(INSTDIR)
+ install -s -c -o bin -g bin -m 755 fromMime $(INSTDIR)
+ install -s -c -o bin -g bin -m 755 toMime $(INSTDIR)
+ install -c -o bin -g bin -m 644 $(LIBFILE) $(INSTDIR)
-$(RANLIB) $(INSTDIR)/$(LIBFILE)
config.h:; $(LKFILE) $(MMDIR)/config.h .