summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2016-11-14 00:04:54 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2016-11-14 00:04:54 +0000
commit001bac7586a68d22e68f5bfa40d0506c5dcf1198 (patch)
tree304c42543f531684ecd9188be883fa8c55382c83
parent- fix build on aarch64 (diff)
- fix build on FreeBSD-11 with option PAM
PR: 214161
Notes
Notes: svn path=/head/; revision=426076
-rw-r--r--net/freebsd-uucp/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/freebsd-uucp/Makefile b/net/freebsd-uucp/Makefile
index 46ed6d867630..8a4a7a8103c9 100644
--- a/net/freebsd-uucp/Makefile
+++ b/net/freebsd-uucp/Makefile
@@ -38,6 +38,9 @@ VAR_LOG_DESC= put logfiles into /var/log
.if ${PORT_OPTIONS:MPAM}
PAM_SUFFIX= -pam
MAKE_ENV+= WITH_PAM=${WITH_PAM}
+.if ${OSVERSION} >= 110000
+MAKE_ENV+= MINUSLPAM=-lpam
+.endif
CONFLICTS?= freebsd-uucp-1.*
.else
CONFLICTS?= freebsd-uucp-pam-1.*