summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2014-03-22 09:05:24 +0000
committerbsiegert <bsiegert@pkgsrc.org>2014-03-22 09:05:24 +0000
commita31032b65dc5f8d2dcbc724b57a97db5f08c3318 (patch)
treea5664f985e62e9c5e9ed44ff15f6543ba74c99d7 /security
parenta140c5f2d5c9dd79131fbc85ee7c72cf1d0e0ad0 (diff)
downloadpkgsrc-a31032b65dc5f8d2dcbc724b57a97db5f08c3318.tar.gz
The MirBSD stanza was wrong. Moved it below the builtin.mk inclusion and
made the conditional more robust. Fixes at least "make describe", let's see if it helps for the bulk build.
Diffstat (limited to 'security')
-rw-r--r--security/heimdal/Makefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/security/heimdal/Makefile b/security/heimdal/Makefile
index 6add78ba4fc..b86c35570ba 100644
--- a/security/heimdal/Makefile
+++ b/security/heimdal/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.110 2014/03/19 13:25:04 bsiegert Exp $
+# $NetBSD: Makefile,v 1.111 2014/03/22 09:05:24 bsiegert Exp $
DISTNAME= heimdal-1.5.3
PKGREVISION= 5
@@ -81,15 +81,6 @@ PLIST_VARS+= afskauth hcrypto
PLIST.afskauth= yes
.endif
-.if ${OPSYS} == "MirBSD"
-.if ${USE_BUILTIN.openssl} == "yes"
-PLIST.hcrypto= yes
-.endif
-PLIST.vis= yes
-# all of the tools need to link against pthread, force it.
-PTHREAD_AUTO_VARS= yes
-.endif
-
OWN_DIRS_PERMS= ${HEIMDAL_HDB_DIR} ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0700
SPECIAL_PERMS+= ${PREFIX}/bin/otp ${SETUID_ROOT_PERMS}
SPECIAL_PERMS= ${PREFIX}/bin/${KRB5_PREFIX}su ${SETUID_ROOT_PERMS}
@@ -119,6 +110,15 @@ CHECK_BUILTIN.openssl:=no
PLIST.hcrypto= yes
.endif
+.if ${OPSYS} == "MirBSD"
+.if !empty(USE_BUILTIN.openssl:Myes)
+PLIST.hcrypto= yes
+.endif
+PLIST.vis= yes
+# all of the tools need to link against pthread, force it.
+PTHREAD_AUTO_VARS= yes
+.endif
+
.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/readline.buildlink3.mk"