b3aaa0cc21
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
19 lines
292 B
Makefile
19 lines
292 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
.PATH: ${.CURDIR}/../newkey
|
|
|
|
PROG= chkey
|
|
SRCS= chkey.c generic.c update.c
|
|
CFLAGS+= -I${.CURDIR}/../newkey
|
|
.if ${MK_NIS} != "no"
|
|
CFLAGS+= -DYP
|
|
.endif
|
|
DPADD= ${LIBRPCSVC} ${LIBMP} ${LIBCRYPTO}
|
|
LDADD= -lrpcsvc -lmp -lcrypto
|
|
|
|
WARNS?= 6
|
|
|
|
.include <bsd.prog.mk>
|