mirror of
https://github.com/opnsense/src.git
synced 2026-04-21 14:17:06 -04:00
library: wrong library directory, wrong library extension and wrong comment). This is mainly of historical interest, if any. The library that gets removed is aout. Also, backout the beforeinstall -> afterinstall change in rev.1.20 that was required to install proper telnet.h into /usr/include/arpa. The actual problem is in <bsd.lib.mk>, and I am going to fix it.
28 lines
594 B
Makefile
28 lines
594 B
Makefile
# $FreeBSD$
|
|
|
|
LIB= telnet
|
|
|
|
INTERNALLIB= yes
|
|
INTERNALSTATICLIB=yes
|
|
NOPIC= yes
|
|
|
|
SRCS= genget.c getent.c misc.c encrypt.c auth.c \
|
|
enc_des.c pk.c
|
|
|
|
CFLAGS+= -DHAS_CGETENT -DENCRYPTION -DDES_ENCRYPTION -DAUTHENTICATION \
|
|
-I${TELNETDIR}
|
|
|
|
INCS= ${TELNETDIR}/arpa/telnet.h
|
|
INCDIR= /usr/include/arpa
|
|
|
|
#
|
|
# Remove obsolete shared libraries, if any. We don't bother moving them
|
|
# to /usr/lib/compat, since they were only used by telnet, telnetd and
|
|
# tn3270.
|
|
#
|
|
beforeinstall:
|
|
rm -f ${DESTDIR}${SHLIBDIR}/lib${LIB}.so.2.0
|
|
|
|
.include <bsd.lib.mk>
|
|
|
|
.PATH: ${TELNETDIR}/libtelnet
|