diff --git a/lib/libpam/Makefile.inc b/lib/libpam/Makefile.inc index 09ebced056bb..0924fdc683d1 100644 --- a/lib/libpam/Makefile.inc +++ b/lib/libpam/Makefile.inc @@ -25,7 +25,3 @@ # $FreeBSD$ SHLIB_MAJOR= 2 - -.if !defined(NOCRYPT) && !defined(NO_OPENSSL) -DISTRIBUTION= crypto -.endif diff --git a/lib/libpam/libpam/Makefile b/lib/libpam/libpam/Makefile index 2b17886d3426..40bd66a4011d 100644 --- a/lib/libpam/libpam/Makefile +++ b/lib/libpam/libpam/Makefile @@ -41,6 +41,10 @@ OPENPAM= ${.CURDIR}/../../../contrib/openpam LIB= pam NOPROFILE= YES +.if !defined(NOCRYPT) && !defined(NO_OPENSSL) +DISTRIBUTION= crypto +.endif + SRCS= openpam_borrow_cred.c \ openpam_configure.c \ openpam_dispatch.c \ diff --git a/lib/libpam/modules/pam_krb5/Makefile b/lib/libpam/modules/pam_krb5/Makefile index 8ace54c20498..00135f158713 100644 --- a/lib/libpam/modules/pam_krb5/Makefile +++ b/lib/libpam/modules/pam_krb5/Makefile @@ -28,6 +28,7 @@ LIB= pam_krb5 SRCS= pam_krb5.c MAN= pam_krb5.8 +DISTRIBUTION= crypto DPADD= ${LIBKRB5} ${LIBGSSAPI} ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} \ ${LIBCOM_ERR} ${LIBROKEN} LDADD= -lkrb5 -lgssapi -lasn1 -lcrypto -lcrypt -lcom_err -lroken diff --git a/lib/libpam/modules/pam_ksu/Makefile b/lib/libpam/modules/pam_ksu/Makefile index 1cdafe8433c4..3ca4904f862d 100644 --- a/lib/libpam/modules/pam_ksu/Makefile +++ b/lib/libpam/modules/pam_ksu/Makefile @@ -28,6 +28,7 @@ LIB= pam_ksu SRCS= pam_ksu.c MAN= pam_ksu.8 +DISTRIBUTION= crypto DPADD= ${LIBKRB5} ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} \ ${LIBCOM_ERR} ${LIBROKEN} LDADD= -lkrb5 -lasn1 -lcrypto -lcrypt -lcom_err -lroken diff --git a/lib/libpam/modules/pam_ssh/Makefile b/lib/libpam/modules/pam_ssh/Makefile index c7e4c332d8b4..008aa5f89e0e 100644 --- a/lib/libpam/modules/pam_ssh/Makefile +++ b/lib/libpam/modules/pam_ssh/Makefile @@ -10,6 +10,7 @@ SRCS= pam_ssh.c WARNS?= 0 CFLAGS+= -I${SSHSRC} +DISTRIBUTION= crypto DPADD= ${LIBSSH} ${LIBCRYPTO} ${LIBCRYPT} LDADD= -lssh -lcrypto -lcrypt