mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
make patch-ab work again.
Don´t know, why this worked at home on my -current system. This is now tested on a -stable system ...
This commit is contained in:
parent
dc47bfa697
commit
5f1d384846
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=8684
@ -1,120 +1,96 @@
|
|||||||
*** src/osdep/unix/Makefile.orig Sat Nov 15 15:24:31 1997
|
--- src/osdep/unix/Makefile.orig Fri Oct 24 00:24:19 1997
|
||||||
--- src/osdep/unix/Makefile Sat Nov 15 15:32:23 1997
|
+++ src/osdep/unix/Makefile Mon Nov 17 13:29:00 1997
|
||||||
***************
|
@@ -32,6 +32,7 @@
|
||||||
*** 32,37 ****
|
|
||||||
--- 32,38 ----
|
|
||||||
|
ARCHIVE=c-client.a
|
||||||
|
+SHLIB=libc-client.so.2.1
|
||||||
ARCHIVE=c-client.a
|
ARRC=ar rc
|
||||||
+ SHLIB=libc-client.so.2.1
|
EXTRAAUTHENTICATORS=
|
||||||
ARRC=ar rc
|
DEFAULTAUTHENTICATORS=log
|
||||||
EXTRAAUTHENTICATORS=
|
@@ -40,7 +41,8 @@
|
||||||
DEFAULTAUTHENTICATORS=log
|
rfc822.o nntp.o smtp.o imap4r1.o pop3.o \
|
||||||
***************
|
unix.o mbox.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o
|
||||||
*** 40,46 ****
|
CC=cc
|
||||||
rfc822.o nntp.o smtp.o imap4r1.o pop3.o \
|
-CFLAGS=$(EXTRACFLAGS)
|
||||||
bezerk.o mbox.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o
|
+SOFILES=${BINARIES:.o=.so}
|
||||||
CC=cc
|
+CFLAGS+=$(EXTRACFLAGS)
|
||||||
! CFLAGS=$(EXTRACFLAGS)
|
EXTRADRIVERS=mbox
|
||||||
EXTRADRIVERS=mbox
|
DEFAULTDRIVERS=imap nntp pop3 mh mx mbx tenex mtx mmdf unix news phile dummy
|
||||||
DEFAULTDRIVERS=imap nntp pop3 mh mx mbx tenex mtx mmdf bezerk news phile dummy
|
LN=ln -s
|
||||||
LN=ln -s
|
@@ -52,6 +54,9 @@
|
||||||
--- 41,48 ----
|
RSHPATH=/usr/ucb/rsh
|
||||||
rfc822.o nntp.o smtp.o imap4r1.o pop3.o \
|
SHELL=/bin/sh
|
||||||
bezerk.o mbox.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o
|
|
||||||
CC=cc
|
+# Need this for the shared library rule to work correctly
|
||||||
! SOFILES=${BINARIES:.o=.so}
|
+.SUFFIXES: .o .so
|
||||||
! CFLAGS+=$(EXTRACFLAGS)
|
+
|
||||||
EXTRADRIVERS=mbox
|
missing: ../OSTYPE CCTYPE
|
||||||
DEFAULTDRIVERS=imap nntp pop3 mh mx mbx tenex mtx mmdf bezerk news phile dummy
|
$(MAKE) `cat ../OSTYPE` CC=`cat CCTYPE`
|
||||||
LN=ln -s
|
|
||||||
***************
|
@@ -124,13 +129,13 @@
|
||||||
*** 52,57 ****
|
ACTIVEFILE=/usr/lib/news/active NEWSSPOOL=/usr/spool/news \
|
||||||
--- 54,62 ----
|
CFLAGS="-g -Dconst= -DNFSKLUDGE $(EXTRACFLAGS)"
|
||||||
RSHPATH=/usr/ucb/rsh
|
|
||||||
SHELL=/bin/sh
|
-bsf: sigpsx # FreeBSD
|
||||||
|
- $(MAKE) $(ARCHIVE) OS=bsi EXTRADRIVERS="$(EXTRADRIVERS)" \
|
||||||
+ # Need this for the shared library rule to work correctly
|
- STDPROTO=unixproto MAILSPOOL=/var/mail \
|
||||||
+ .SUFFIXES: .o .so
|
+bsf: sigbsd # FreeBSD
|
||||||
+
|
+ $(MAKE) $(ARCHIVE) $(SHLIB) OS=bsi EXTRADRIVERS="$(EXTRADRIVERS)" \
|
||||||
missing:
|
+ STDPROTO=bezerkproto MAILSPOOL=/var/mail \
|
||||||
@echo "You must specify what type of system"
|
ACTIVEFILE=/usr/local/news/lib/active NEWSSPOOL=/var/news \
|
||||||
@false
|
RSHPATH=/usr/bin/rsh \
|
||||||
***************
|
- CFLAGS="-g -O -pipe -DNFSKLUDGE $(EXTRACFLAGS)" \
|
||||||
*** 117,128 ****
|
- LDFLAGS="-lcrypt"
|
||||||
ACTIVEFILE=/usr/lib/news/active NEWSSPOOL=/usr/spool/news \
|
+ CFLAGS="$(CFLAGS) -DNFSKLUDGE $(EXTRACFLAGS)" \
|
||||||
CFLAGS="-g -Dconst= -DNFSKLUDGE $(EXTRACFLAGS)"
|
+ LDFLAGS="-lcrypt"
|
||||||
|
|
||||||
! bsf: sigpsx # FreeBSD
|
bsi: sigbsd # BSD/i386
|
||||||
! $(MAKE) $(ARCHIVE) OS=bsi EXTRADRIVERS="$(EXTRADRIVERS)" \
|
$(MAKE) $(ARCHIVE) OS=$@ EXTRADRIVERS="$(EXTRADRIVERS)" \
|
||||||
STDPROTO=bezerkproto MAILSPOOL=/var/mail \
|
@@ -517,12 +522,19 @@
|
||||||
ACTIVEFILE=/usr/local/news/lib/active NEWSSPOOL=/var/news \
|
|
||||||
RSHPATH=/usr/bin/rsh \
|
clean:
|
||||||
! CFLAGS="-g -O -pipe -DNFSKLUDGE $(EXTRACFLAGS)" \
|
$(RM) *.o linkage.[ch] auths.c $(ARCHIVE) osdep.* CCTYPE CFLAGS LDFLAGS
|
||||||
LDFLAGS="-lcrypt"
|
+ $(RM) *.so
|
||||||
|
|
||||||
bsi: sigbsd # BSD/i386
|
$(ARCHIVE): $(BINARIES)
|
||||||
--- 122,133 ----
|
$(RM) $(ARCHIVE)
|
||||||
ACTIVEFILE=/usr/lib/news/active NEWSSPOOL=/usr/spool/news \
|
$(ARRC) $(ARCHIVE) $(BINARIES)
|
||||||
CFLAGS="-g -Dconst= -DNFSKLUDGE $(EXTRACFLAGS)"
|
$(RANLIB) $(ARCHIVE)
|
||||||
|
|
||||||
! bsf: sigbsd # FreeBSD
|
+$(SHLIB): $(SOFILES)
|
||||||
! $(MAKE) $(ARCHIVE) $(SHLIB) OS=bsi EXTRADRIVERS="$(EXTRADRIVERS)" \
|
+ ld -Bshareable -x -o $(SHLIB) $(SOFILES)
|
||||||
STDPROTO=bezerkproto MAILSPOOL=/var/mail \
|
+
|
||||||
ACTIVEFILE=/usr/local/news/lib/active NEWSSPOOL=/var/news \
|
+.c.so: osdep.h
|
||||||
RSHPATH=/usr/bin/rsh \
|
+ $(CC) -fpic -DPIC -c $(CFLAGS) ${@:.so=.c} -o $@
|
||||||
! CFLAGS="$(CFLAGS) -DNFSKLUDGE $(EXTRACFLAGS)" \
|
+
|
||||||
LDFLAGS="-lcrypt"
|
# Dependencies
|
||||||
|
|
||||||
bsi: sigbsd # BSD/i386
|
dummy.o: mail.h misc.h osdep.h dummy.h
|
||||||
***************
|
@@ -572,6 +584,26 @@
|
||||||
*** 457,468 ****
|
-DRSH=\"$(RSH)\" -DRSHPATH=\"$(RSHPATH)\" \
|
||||||
--- 462,480 ----
|
$(EXTRAOSDEFS) -c os_$(OS).c
|
||||||
|
$(MV) os_$(OS).o osdep.o
|
||||||
clean:
|
+
|
||||||
$(RM) *.o linkage.[ch] auths.c $(ARCHIVE) osdep.* CCTYPE CFLAGS LDFLAGS
|
+osdep.so: mail.h misc.h env.h fs.h ftl.h nl.h tcp.h \
|
||||||
+ $(RM) *.so
|
+ osdep.h env_unix.h tcp_unix.h \
|
||||||
|
+ os_$(OS).c env_unix.c fs_unix.c ftl_unix.c nl_unix.c tcp_unix.c \
|
||||||
$(ARCHIVE): $(BINARIES)
|
+ flock.c fsync.c gethstid.c \
|
||||||
$(RM) $(ARCHIVE)
|
+ gr_wait.c gr_wait4.c gr_waitp.c \
|
||||||
$(ARRC) $(ARCHIVE) $(BINARIES)
|
+ auth_krb.c auth_log.c \
|
||||||
$(RANLIB) $(ARCHIVE)
|
+ log_std.c log_sv4.c \
|
||||||
|
+ log_a41.c log_sco.c log_sec.c log_sha.c log_ssn.c log_ult.c \
|
||||||
+ $(SHLIB): $(SOFILES)
|
+ scandir.c setpgrp.c strerror.c truncate.c write.c \
|
||||||
+ ld -Bshareable -x -o $(SHLIB) $(SOFILES)
|
+ memmove.c memmove2.c memset.c \
|
||||||
+
|
+ tz_bsd.c tz_nul.c tz_sv4.c \
|
||||||
+ .c.so: osdep.h
|
+ write.c \
|
||||||
+ $(CC) -fpic -DPIC -c $(CFLAGS) ${@:.so=.c} -o $@
|
+ strerror.c strpbrk.c strstr.c strtok.c strtoul.c
|
||||||
+
|
+ $(CC) -fpic -DPIC $(CFLAGS) -DSTDPROTO=$(STDPROTO) -DMAILSPOOL=\"$(MAILSPOOL)\" \
|
||||||
# Dependencies
|
+ -DANONYMOUSHOME=\"$(MAILSPOOL)/anonymous\" \
|
||||||
|
+ -DACTIVEFILE=\"$(ACTIVEFILE)\" -DNEWSSPOOL=\"$(NEWSSPOOL)\" \
|
||||||
bezerk.o: mail.h misc.h osdep.h bezerk.h pseudo.h dummy.h
|
+ -DRSH=\"$(RSH)\" -DRSHPATH=\"$(RSHPATH)\" \
|
||||||
***************
|
+ $(EXTRAOSDEFS) -c os_$(OS).c
|
||||||
*** 511,516 ****
|
+ $(MV) os_$(OS).o osdep.so
|
||||||
--- 523,548 ----
|
|
||||||
-DRSH=\"$(RSH)\" -DRSHPATH=\"$(RSHPATH)\" \
|
osdep.h: os_$(OS).h linkage
|
||||||
$(EXTRAOSDEFS) -c os_$(OS).c
|
$(RM) CCTYPE CFLAGS LDFLAGS osdep.h
|
||||||
$(MV) os_$(OS).o osdep.o
|
|
||||||
+
|
|
||||||
+ osdep.so: mail.h misc.h env.h fs.h ftl.h nl.h tcp.h \
|
|
||||||
+ osdep.h env_unix.h tcp_unix.h \
|
|
||||||
+ os_$(OS).c env_unix.c fs_unix.c ftl_unix.c nl_unix.c tcp_unix.c \
|
|
||||||
+ flock.c fsync.c gethstid.c \
|
|
||||||
+ gr_wait.c gr_wait4.c gr_waitp.c \
|
|
||||||
+ auth_krb.c auth_log.c \
|
|
||||||
+ log_std.c log_sv4.c \
|
|
||||||
+ log_a41.c log_sco.c log_sec.c log_sha.c log_ssn.c log_ult.c \
|
|
||||||
+ scandir.c setpgrp.c strerror.c truncate.c write.c \
|
|
||||||
+ memmove.c memmove2.c memset.c \
|
|
||||||
+ tz_bsd.c tz_nul.c tz_sv4.c \
|
|
||||||
+ write.c \
|
|
||||||
+ strerror.c strpbrk.c strstr.c strtok.c strtoul.c
|
|
||||||
+ $(CC) -fpic -DPIC $(CFLAGS) -DSTDPROTO=$(STDPROTO) -DMAILSPOOL=\"$(MAILSPOOL)\" \
|
|
||||||
+ -DANONYMOUSHOME=\"$(MAILSPOOL)/anonymous\" \
|
|
||||||
+ -DACTIVEFILE=\"$(ACTIVEFILE)\" -DNEWSSPOOL=\"$(NEWSSPOOL)\" \
|
|
||||||
+ -DRSH=\"$(RSH)\" -DRSHPATH=\"$(RSHPATH)\" \
|
|
||||||
+ $(EXTRAOSDEFS) -c os_$(OS).c
|
|
||||||
+ $(MV) os_$(OS).o osdep.so
|
|
||||||
|
|
||||||
osdep.h: os_$(OS).h linkage
|
|
||||||
$(RM) CCTYPE CFLAGS LDFLAGS osdep.h
|
|
||||||
|
Loading…
Reference in New Issue
Block a user