security/heimdal: Unbreak on DragonFly

The 30 AUG 14 commit to fix libcom_err on some FreeBSD releases crippled
Heimdal on DragonFly such that samba-nsupdate no longer would configure.
The culprit was once again using OSVERSION without checking OPSYS, so
adjusting for OPSYS fixes this regression.
This commit is contained in:
John Marino 2014-09-21 09:34:58 +00:00
parent 04bf0dfcdc
commit 3149cfd532
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=368732

View File

@ -89,11 +89,15 @@ X11_CONFIGURE_WITH= x
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD
.if ${OSVERSION} < 1000000
PLIST_SUB+= LIBCOM_ERR=""
.else
PLIST_SUB+= LIBCOM_ERR="@comment "
.endif
.else
PLIST_SUB+= LIBCOM_ERR=""
.endif
.if ${PORT_OPTIONS:MLDAP}
WANT_OPENLDAP_SASL?= yes