aboutsummaryrefslogtreecommitdiff
path: root/security/heimdal
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-09-21 09:34:58 +0000
committerJohn Marino <marino@FreeBSD.org>2014-09-21 09:34:58 +0000
commit3149cfd532a4c448b8f23e63113e786c6a9b0be3 (patch)
tree8fd96a2ee7b75bda238bb5b073532d8c775d552e /security/heimdal
parent04bf0dfcdca10080bf098c96e47515978d3ea2d9 (diff)
downloadports-3149cfd532a4c448b8f23e63113e786c6a9b0be3.tar.gz
ports-3149cfd532a4c448b8f23e63113e786c6a9b0be3.zip
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.
Notes
Notes: svn path=/head/; revision=368732
Diffstat (limited to 'security/heimdal')
-rw-r--r--security/heimdal/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/security/heimdal/Makefile b/security/heimdal/Makefile
index 82f2f00721fb..ba4deac5cabb 100644
--- a/security/heimdal/Makefile
+++ b/security/heimdal/Makefile
@@ -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