1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/mail/imap-uw/files/patch-ac
Andrey A. Chernov 6e9a383862 Build/install/use c-client shared and normal libraries
Install mtest as mboxtest
Use INSTALL_* macros
Use ${PREFIX}/etc instead of /etc
1997-01-12 16:10:38 +00:00

77 lines
1.9 KiB
Plaintext

*** src/imapd/Makefile.bak Fri Mar 15 00:16:22 1996
--- src/imapd/Makefile Sun Jan 12 18:25:27 1997
***************
*** 31,38 ****
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
! ALERT=/etc/imapd.alert
! ANO=/etc/anonymous.newsgroups
C = ../c-client
CCLIENTLIB = $C/c-client.a
SHELL= /bin/sh
--- 31,38 ----
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
! ALERT=$(PREFIX)/etc/imapd.alert
! ANO=$(PREFIX)/etc/anonymous.newsgroups
C = ../c-client
CCLIENTLIB = $C/c-client.a
SHELL= /bin/sh
***************
*** 41,47 ****
CC = `cat $C/CCTYPE`
CFLAGS = -I$C `cat $C/CFLAGS` -DALERTFILE=\"$(ALERT)\" -DANOFILE=\"$(ANO)\"
! LDFLAGS = $(CCLIENTLIB) `cat $C/LDFLAGS`
imapd: $(CCLIENTLIB) imapd.o
$(CC) $(CFLAGS) -o imapd imapd.o $(LDFLAGS)
--- 41,47 ----
CC = `cat $C/CCTYPE`
CFLAGS = -I$C `cat $C/CFLAGS` -DALERTFILE=\"$(ALERT)\" -DANOFILE=\"$(ANO)\"
! LDFLAGS = -L$C -lc-client `cat $C/LDFLAGS`
imapd: $(CCLIENTLIB) imapd.o
$(CC) $(CFLAGS) -o imapd imapd.o $(LDFLAGS)
*** src/ipopd/Makefile.bak Fri Mar 15 00:18:17 1996
--- src/ipopd/Makefile Sun Jan 12 18:24:06 1997
***************
*** 39,45 ****
CC = `cat $C/CCTYPE`
CFLAGS = -I$C `cat $C/CFLAGS`
! LDFLAGS = $(CCLIENTLIB) `cat $C/LDFLAGS`
ipopd: ipop2d ipop3d
--- 39,45 ----
CC = `cat $C/CCTYPE`
CFLAGS = -I$C `cat $C/CFLAGS`
! LDFLAGS = -L$C -lc-client `cat $C/LDFLAGS`
ipopd: ipop2d ipop3d
*** src/mtest/Makefile.bak Fri Mar 15 00:18:42 1996
--- src/mtest/Makefile Sun Jan 12 18:26:14 1997
***************
*** 39,45 ****
CC = `cat $C/CCTYPE`
CFLAGS = -I$C `cat $C/CFLAGS`
! LDFLAGS = $(CCLIENTLIB) `cat $C/LDFLAGS`
mtest: $(CCLIENTLIB) mtest.o
$(CC) $(CFLAGS) -o mtest mtest.o $(LDFLAGS)
--- 39,45 ----
CC = `cat $C/CCTYPE`
CFLAGS = -I$C `cat $C/CFLAGS`
! LDFLAGS = -L$C -lc-client `cat $C/LDFLAGS`
mtest: $(CCLIENTLIB) mtest.o
$(CC) $(CFLAGS) -o mtest mtest.o $(LDFLAGS)