adfcae54db
Adds support for IPv6 amongst other things. Install docs in DOCSDIR. PR: 66518 Submitted by: Christian Kratzer <ck@cksoft.de>
94 lines
2.5 KiB
Text
94 lines
2.5 KiB
Text
--- src/osdep/unix/Makefile.orig Fri Apr 30 02:08:48 2004
|
|
+++ src/osdep/unix/Makefile Fri Jun 4 07:34:19 2004
|
|
@@ -29,13 +29,13 @@
|
|
|
|
# Extended flags needed for SSL. You may need to modify.
|
|
|
|
-SSLDIR=/usr/local/ssl
|
|
-SSLCERTS=$(SSLDIR)/certs
|
|
+SSLDIR=$(OPENSSLBASE)
|
|
+SSLCERTS=$(PREFIX)/certs
|
|
SSLKEYS=$(SSLCERTS)
|
|
-SSLINCLUDE=$(SSLDIR)/include
|
|
-SSLLIB=$(SSLDIR)/lib
|
|
+SSLINCLUDE=$(OPENSSLINC)
|
|
+SSLLIB=$(OPENSSLLIB)
|
|
|
|
-SSLCRYPTO=-lcrypto
|
|
+SSLCRYPTO=-lcrypto -lcrypt
|
|
|
|
# Older versions of MIT Kerberos also have a libcrypto. If so, you may need
|
|
# to use this instead
|
|
@@ -48,7 +48,7 @@
|
|
|
|
SSLCFLAGS= -I$(SSLINCLUDE) -I$(SSLINCLUDE)/openssl\
|
|
-DSSL_CERT_DIRECTORY=\"$(SSLCERTS)\" -DSSL_KEY_DIRECTORY=\"$(SSLKEYS)\"
|
|
-SSLLDFLAGS= -L$(SSLLIB) -lssl $(SSLCRYPTO) $(SSLRSA)
|
|
+SSLLDFLAGS= # -L$(SSLLIB) -lssl $(SSLCRYPTO) $(SSLRSA)
|
|
|
|
|
|
# Extended flags needed for non-standard passwd types. You may need to modify.
|
|
@@ -62,7 +62,7 @@
|
|
# AFSLDFLAGS may also need -L/usr/ucblib -lucb
|
|
DCECFLAGS= -DDCE_MINIMAL -DPASSWD_OVERRIDE=\"/opt/pop3/passwd/passwd\"
|
|
DCELDFLAGS= -ldce
|
|
-PAMLDFLAGS= -lpam -ldl
|
|
+PAMLDFLAGS= # -lpam -lcrypt
|
|
|
|
|
|
# Build parameters normally set by the individual port
|
|
@@ -99,7 +99,7 @@
|
|
# Commands possibly overriden by the individual port
|
|
|
|
ARRC=ar rc
|
|
-CC=cc
|
|
+CC?=cc
|
|
LN=ln -s
|
|
RANLIB=ranlib
|
|
|
|
@@ -117,7 +117,7 @@
|
|
dummy.o pseudo.o netmsg.o flstring.o fdstring.o \
|
|
rfc822.o nntp.o smtp.o imap4r1.o pop3.o \
|
|
unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o
|
|
-CFLAGS=-g
|
|
+CFLAGS+=$(BASECFLAGS) $(EXTRACFLAGS)
|
|
|
|
CAT=cat
|
|
MAKE=make
|
|
@@ -200,6 +200,15 @@
|
|
BASECFLAGS="-g -B/usr/lib/big/ -Dvoid=char -Dconst=" \
|
|
RANLIB=true ARRC="ar -rc"
|
|
|
|
+bfp: # FreeBSD Pluggable Authentication Modules
|
|
+ $(BUILD) `cat SPECIALS` OS=bsi SIGTYPE=psx CHECKPW=pam \
|
|
+ SPOOLDIR=/var \
|
|
+ ACTIVEFILE=/usr/local/news/lib/active \
|
|
+ RSHPATH=/usr/bin/rsh \
|
|
+ LOCKPGM=$(PREFIX)/libexec/mlock \
|
|
+ BASECFLAGS="-DNFSKLUDGE" \
|
|
+ BASELDFLAGS="-lpam -lcrypt"
|
|
+
|
|
bs3: # BSD/i386 3.0 or higher
|
|
$(BUILD) `$(CAT) SPECIALS` OS=bsi \
|
|
CHECKPW=bsi LOGINPW=bsi CRXTYPE=nfs \
|
|
@@ -219,8 +228,9 @@
|
|
SPOOLDIR=/var \
|
|
ACTIVEFILE=/usr/local/news/lib/active \
|
|
RSHPATH=/usr/bin/rsh \
|
|
- BASECFLAGS="-g -O -pipe" \
|
|
- BASELDFLAGS="-lcrypt"
|
|
+ LOCKPGM=$(PREFIX)/libexec/mlock \
|
|
+ BASECFLAGS="-DNFSKLUDGE" \
|
|
+ BASELDFLAGS=""
|
|
|
|
bsi: # BSD/i386
|
|
$(BUILD) `$(CAT) SPECIALS` OS=$@ \
|
|
@@ -788,7 +798,7 @@
|
|
|
|
build: clean once $(ARCHIVE)
|
|
|
|
-all: $(ARCHIVE)
|
|
+all: onceenv
|
|
|
|
$(ARCHIVE): $(BINARIES)
|
|
sh -c '$(RM) $(ARCHIVE) || true'
|