1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/mail/pgpsendmail/files/patch-aa
Kris Kennaway cfe2b1d7cc Fix build on current.
Submitted by:	ru
2002-06-16 09:49:01 +00:00

125 lines
3.1 KiB
Plaintext

*** Makefile.old Sat Oct 15 23:06:26 1994
--- Makefile Tue Jun 4 14:11:52 2002
***************
*** 13,28 ****
#
#SENDMAIL = '-DSENDMAIL="/usr/lib/sendmail"'
DEFINES =
! CC = cc
! CFLAGS = $(DEFINES) -I. "-DVERSION=\"`cat version`\""
LDFLAGS =
TARGETS = blindness_assist pgpsendmail pgpdaemon sendpgppass pgppipe
! all: $(TARGETS) clean
BLINDNESS_ASSIST_OBJ = blindness_assist.o
--- 13,29 ----
#
#SENDMAIL = '-DSENDMAIL="/usr/lib/sendmail"'
+ PREFIX = /usr/local
+
DEFINES =
! CFLAGS += $(DEFINES) -I. "-DVERSION=\"`cat version`\""
LDFLAGS =
TARGETS = blindness_assist pgpsendmail pgpdaemon sendpgppass pgppipe
! all: $(TARGETS)
BLINDNESS_ASSIST_OBJ = blindness_assist.o
***************
*** 39,55 ****
pgpsendmail.o: pgpsendmail.c
$(CC) $(CFLAGS) $(SENDMAIL) -c pgpsendmail.c
pgpsendmail: $(PGPSENDMAIL_OBJ)
$(CC) -s -o pgpsendmail $(PGPSENDMAIL_OBJ) $(LDFLAGS)
@-./blindness_assist
- -./install pgpsendmail
PGPDAEMON_OBJ = pgpdaemon.o spawn.o strings.o memory.o misc.o
pgpdaemon: $(PGPDAEMON_OBJ)
$(CC) -s -o pgpdaemon $(PGPDAEMON_OBJ) $(LDFLAGS)
- -./install pgpdaemon
SENDPGPPASS_OBJ = sendpgppass.o conn_to_pgpd.o strings.o spawn.o \
--- 40,55 ----
pgpsendmail.o: pgpsendmail.c
$(CC) $(CFLAGS) $(SENDMAIL) -c pgpsendmail.c
+
pgpsendmail: $(PGPSENDMAIL_OBJ)
$(CC) -s -o pgpsendmail $(PGPSENDMAIL_OBJ) $(LDFLAGS)
@-./blindness_assist
PGPDAEMON_OBJ = pgpdaemon.o spawn.o strings.o memory.o misc.o
pgpdaemon: $(PGPDAEMON_OBJ)
$(CC) -s -o pgpdaemon $(PGPDAEMON_OBJ) $(LDFLAGS)
SENDPGPPASS_OBJ = sendpgppass.o conn_to_pgpd.o strings.o spawn.o \
***************
*** 57,72 ****
sendpgppass: $(SENDPGPPASS_OBJ)
$(CC) -s -o sendpgppass $(SENDPGPPASS_OBJ) $(LDFLAGS)
- -./install sendpgppass
PGPPIPE_OBJ = pgppipe.o conn_to_pgpd.o memory.o misc.o
pgppipe: $(PGPPIPE_OBJ)
$(CC) -s -o pgppipe $(PGPPIPE_OBJ) $(LDFLAGS)
- -./install pgppipe
clean:
rm -f *.BAK *.log *.sed .#* *~ *.bak */*.bak */tmp* .*defaults */*~
-chmod u+rw,go-w * 2> /dev/null
--- 57,80 ----
sendpgppass: $(SENDPGPPASS_OBJ)
$(CC) -s -o sendpgppass $(SENDPGPPASS_OBJ) $(LDFLAGS)
PGPPIPE_OBJ = pgppipe.o conn_to_pgpd.o memory.o misc.o
pgppipe: $(PGPPIPE_OBJ)
$(CC) -s -o pgppipe $(PGPPIPE_OBJ) $(LDFLAGS)
+ all_install:
+ $(BSD_INSTALL_PROGRAM) pgpsendmail $(PREFIX)/lib
+ $(BSD_INSTALL_MAN) doc/pgpsendmail.8 $(PREFIX)/man/man8
+ $(BSD_INSTALL_PROGRAM) pgpdaemon $(PREFIX)/bin
+ $(BSD_INSTALL_MAN) doc/pgpdaemon.8 $(PREFIX)/man/man8
+ $(BSD_INSTALL_PROGRAM) pgppipe $(PREFIX)/bin
+ $(BSD_INSTALL_MAN) doc/pgppipe.1 $(PREFIX)/man/man1
+ $(BSD_INSTALL_PROGRAM) sendpgppass $(PREFIX)/bin
+ $(BSD_INSTALL_MAN) doc/sendpgppass.1 $(PREFIX)/man/man1
+
clean:
rm -f *.BAK *.log *.sed .#* *~ *.bak */*.bak */tmp* .*defaults */*~
-chmod u+rw,go-w * 2> /dev/null
***************
*** 88,90 ****
--- 96,99 ----
memory.o: pgpsendmail.h karma.h
pgppipe.o: pgpsendmail.h karma.h version
misc.o: pgpsendmail.h karma.h
+ blindness_assist.o: pgpsendmail.h