mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-27 11:20:58 +01:00
fa4082de19
The function pow() in libmp(3) clashes with pow(3) in libm. We could rename this single function, but we can just take the same approach as the Solaris folks did, which is to prefix all function names with mp_. libmp(3) isn't really popular nowadays. I suspect not a single application in ports depends on it. There's still a chance, so I've increased the SHLIB_MAJOR and __FreeBSD_version. Reviewed by: deischen, rdivacky
27 lines
497 B
Makefile
27 lines
497 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= keyserv
|
|
MAN= keyserv.8
|
|
SRCS= keyserv.c setkey.c crypt_svc.c crypt_server.c crypt.h
|
|
|
|
CFLAGS+= -DKEYSERV_RANDOM -DBROKEN_DES -I.
|
|
|
|
DPADD= ${LIBMP} ${LIBCRYPTO} ${LIBRPCSVC}
|
|
LDADD= -lmp -lcrypto -lrpcsvc
|
|
|
|
WARNS?= 1
|
|
|
|
RPCDIR= ${DESTDIR}/usr/include/rpcsvc
|
|
|
|
CLEANFILES= crypt_svc.c crypt.h
|
|
|
|
RPCGEN= rpcgen -C
|
|
|
|
crypt_svc.c: ${RPCDIR}/crypt.x
|
|
${RPCGEN} -m -o ${.TARGET} ${RPCDIR}/crypt.x
|
|
|
|
crypt.h: ${RPCDIR}/crypt.x
|
|
${RPCGEN} -h -o ${.TARGET} ${RPCDIR}/crypt.x
|
|
|
|
.include <bsd.prog.mk>
|