diff --git a/sbin/nfsd/Makefile b/sbin/nfsd/Makefile index cbc66b509371..12ce92e2d90a 100644 --- a/sbin/nfsd/Makefile +++ b/sbin/nfsd/Makefile @@ -9,7 +9,7 @@ LDADD+= -lutil .if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_KERBEROS) \ || defined(MAKE_EBONES)) CFLAGS+=-DKERBEROS -DPADD= ${LIBKRB} ${LIBDES} +DPADD+= ${LIBKRB} ${LIBDES} LDADD+= -lkrb -ldes DISTRIBUTION= krb .endif diff --git a/usr.sbin/nfsd/Makefile b/usr.sbin/nfsd/Makefile index cbc66b509371..12ce92e2d90a 100644 --- a/usr.sbin/nfsd/Makefile +++ b/usr.sbin/nfsd/Makefile @@ -9,7 +9,7 @@ LDADD+= -lutil .if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_KERBEROS) \ || defined(MAKE_EBONES)) CFLAGS+=-DKERBEROS -DPADD= ${LIBKRB} ${LIBDES} +DPADD+= ${LIBKRB} ${LIBDES} LDADD+= -lkrb -ldes DISTRIBUTION= krb .endif