openbsd-ports/comms/efax/patches/patch-aa
1999-08-19 20:52:28 +00:00

56 lines
1.3 KiB
Plaintext

*** Makefile.orig Thu Mar 11 17:00:34 1999
--- Makefile Thu Aug 19 13:44:03 1999
***************
*** 3,22 ****
# Change the following to the name of your ANSI C compiler
# (normally gcc).
! CC=gcc
# Compile/load options. Add -DNO_STRERROR to CFLAGS if _strerror
# is undefined
! CFLAGS=
LDFLAGS=
# Change the following to the destination directories for
# binaries and man pages. Probably /usr/bin and /usr/man on
# Linux, /usr/local/{bin,man} on other systems.
! BINDIR=/usr/bin
! MANDIR=/usr/man
.c.o:
$(CC) $(CFLAGS) -c $<
--- 3,22 ----
# Change the following to the name of your ANSI C compiler
# (normally gcc).
! CC=cc
# Compile/load options. Add -DNO_STRERROR to CFLAGS if _strerror
# is undefined
! CFLAGS=-O2
LDFLAGS=
# Change the following to the destination directories for
# binaries and man pages. Probably /usr/bin and /usr/man on
# Linux, /usr/local/{bin,man} on other systems.
! BINDIR=/usr/local/bin
! MANDIR=/usr/local/man
.c.o:
$(CC) $(CFLAGS) -c $<
***************
*** 25,31 ****
efax: efax.o efaxlib.o efaxio.o efaxos.o efaxmsg.o
$(CC) -o efax $(LDFLAGS) efax.o efaxlib.o efaxio.o efaxos.o efaxmsg.o
- strip efax
efix: efix.o efaxlib.o efaxmsg.o
$(CC) -o efix $(LDFLAGS) efix.o efaxlib.o efaxmsg.o
--- 25,30 ----