1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/converters/mpack/files/patch-aa
1999-05-16 23:47:44 +00:00

56 lines
1.4 KiB
Plaintext

*** Makefile.orig Thu Feb 16 15:39:41 1995
--- Makefile Sat May 15 19:18:04 1999
***************
*** 1,5 ****
! CFLAGS=$(OPT) $(DEFINES)
! OPT=-O
#Uncomment the following line if your system does not have strchr()
--- 1,5 ----
! CFLAGS+=$(OPT) $(DEFINES)
! #OPT=-O
#Uncomment the following line if your system does not have strchr()
***************
*** 28,34 ****
UNPACKOBJS = unixunpk.o decode.o uudecode.o codes.o unixos.o string.o \
part.o xmalloc.o md5c.o getopt.o
! DESTDIR=/usr/local
all: mpack munpack
--- 28,34 ----
UNPACKOBJS = unixunpk.o decode.o uudecode.o codes.o unixos.o string.o \
part.o xmalloc.o md5c.o getopt.o
! DESTDIR?=/usr/local
all: mpack munpack
***************
*** 42,51 ****
-mkdir $(DESTDIR)/bin
-mkdir $(DESTDIR)/man
-mkdir $(DESTDIR)/man/man1
! install -s -m 755 mpack $(DESTDIR)/bin
! install -s -m 755 munpack $(DESTDIR)/bin
! install -m 644 unixpk.man $(DESTDIR)/man/man1/mpack.1
! install -m 644 unixunpk.man $(DESTDIR)/man/man1/munpack.1
clean:
rm -f *.o mpack munpack
--- 42,51 ----
-mkdir $(DESTDIR)/bin
-mkdir $(DESTDIR)/man
-mkdir $(DESTDIR)/man/man1
! install -c -s -m 755 mpack $(DESTDIR)/bin
! install -c -s -m 755 munpack $(DESTDIR)/bin
! install -c -m 644 unixpk.man $(DESTDIR)/man/man1/mpack.1
! install -c -m 644 unixunpk.man $(DESTDIR)/man/man1/munpack.1
clean:
rm -f *.o mpack munpack