> Hi.
> 
> I just tried a ,make release' with USA_RESIDENT set to NO. It failed with

> dit -lgnuregex -lkvm -lz
> telnet.lo: In function `setpolicy':
> telnet.lo(.text+0x22af): undefined reference to `ipsec_set_policy'
> telnet.lo(.text+0x22c0): undefined reference to `ipsec_strerror'
> telnet.lo(.text+0x2303): undefined reference to `ipsec_get_policylen'
> *** Error code 1
> Stop in /usr/obj/usr/src/release/fixit_crunch.
> *** Error code 1
> Stop in /usr/src/release.
> *** Error code 1
> Stop in /usr/src/release.

Sorry for the problem. Could you try with this patch for now?


Yoshinobu Inoue


--- usr.bin/telnet/Makefile.orig        Thu Jan 27 15:04:00 2000
+++ usr.bin/telnet/Makefile     Sun Jan 30 03:19:31 2000
@@ -40,12 +40,12 @@
 CFLAGS+=-DENV_HACK
 CFLAGS+=-DSKEY
 CFLAGS+=-I${.CURDIR}/../../lib
-CFLAGS+=-DIPSEC -DINET6
+CFLAGS+=-DINET6

 #CFLAGS+= -DKRB4

-DPADD= ${LIBTERMCAP} ${LIBTELNET} ${LIBIPSEC}
-LDADD= -ltermcap -ltelnet -lipsec
+DPADD= ${LIBTERMCAP} ${LIBTELNET}
+LDADD= -ltermcap -ltelnet
 #DPADD+=       ${LIBKRB} ${LIBDES}
 #LDADD+=       -lkrb -ldes

@@ -57,7 +57,14 @@
 CRYPT_SRC+= ring.c ring.h telnet.c terminal.c utilities.c Makefile
 NOCRYPT_DIR=${.CURDIR}/Nocrypt

+.if !defined(RELEASE_CRUNCH)
+CFLAGS+=-DIPSEC
+DPADD= ${LIBIPSEC}
+LDADD= -lipsec
+.endif
+
 .include <bsd.prog.mk>

 nocrypt:
        @echo "Encryption code already removed."
+


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to