aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2007-11-13 07:27:08 +0800
committerpav <pav@FreeBSD.org>2007-11-13 07:27:08 +0800
commita6354d13a98f1f09fd3233de8ea2533560f4fc30 (patch)
treeac75ad2ba2d58246ee61048d99ed116f7ff88496 /security
parenteb7525f070d51ec1c162f73143842a13ea6cac09 (diff)
downloadfreebsd-ports-gnome-a6354d13a98f1f09fd3233de8ea2533560f4fc30.tar.gz
freebsd-ports-gnome-a6354d13a98f1f09fd3233de8ea2533560f4fc30.tar.zst
freebsd-ports-gnome-a6354d13a98f1f09fd3233de8ea2533560f4fc30.zip
- hcrypto library is only installed on FreeBSD < 7.0
Reported by: pointyhat Approved by: portmgr (hat)
Diffstat (limited to 'security')
-rw-r--r--security/heimdal/Makefile6
-rw-r--r--security/heimdal/pkg-plist46
2 files changed, 29 insertions, 23 deletions
diff --git a/security/heimdal/Makefile b/security/heimdal/Makefile
index 7ddd9cb2b3b1..24c780327489 100644
--- a/security/heimdal/Makefile
+++ b/security/heimdal/Makefile
@@ -38,6 +38,12 @@ PLIST= ${WRKDIR}/PLIST
CFLAGS+= -fPIC
.endif
+.if ${OSVERSION} >= 700000
+PLIST_SUB+= HCRYPTO="@comment "
+.else
+PLIST_SUB+= HCRYPTO=""
+.endif
+
.if defined(WITH_LDAP)
USE_OPENLDAP= yes
CONFIGURE_ARGS+= --with-openldap=${LOCALBASE}
diff --git a/security/heimdal/pkg-plist b/security/heimdal/pkg-plist
index 882bd2c96129..1ff71eaa44da 100644
--- a/security/heimdal/pkg-plist
+++ b/security/heimdal/pkg-plist
@@ -36,24 +36,24 @@ include/gssapi/gkrb5_err.h
include/gssapi/gssapi.h
include/gssapi/gssapi_krb5.h
include/gssapi/gssapi_spnego.h
-include/hcrypto/aes.h
-include/hcrypto/bn.h
-include/hcrypto/des.h
-include/hcrypto/dh.h
-include/hcrypto/dsa.h
-include/hcrypto/engine.h
-include/hcrypto/evp.h
-include/hcrypto/hmac.h
-include/hcrypto/md2.h
-include/hcrypto/md4.h
-include/hcrypto/md5.h
-include/hcrypto/pkcs12.h
-include/hcrypto/rand.h
-include/hcrypto/rc2.h
-include/hcrypto/rc4.h
-include/hcrypto/rsa.h
-include/hcrypto/sha.h
-include/hcrypto/ui.h
+%%HCRYPTO%%include/hcrypto/aes.h
+%%HCRYPTO%%include/hcrypto/bn.h
+%%HCRYPTO%%include/hcrypto/des.h
+%%HCRYPTO%%include/hcrypto/dh.h
+%%HCRYPTO%%include/hcrypto/dsa.h
+%%HCRYPTO%%include/hcrypto/engine.h
+%%HCRYPTO%%include/hcrypto/evp.h
+%%HCRYPTO%%include/hcrypto/hmac.h
+%%HCRYPTO%%include/hcrypto/md2.h
+%%HCRYPTO%%include/hcrypto/md4.h
+%%HCRYPTO%%include/hcrypto/md5.h
+%%HCRYPTO%%include/hcrypto/pkcs12.h
+%%HCRYPTO%%include/hcrypto/rand.h
+%%HCRYPTO%%include/hcrypto/rc2.h
+%%HCRYPTO%%include/hcrypto/rc4.h
+%%HCRYPTO%%include/hcrypto/rsa.h
+%%HCRYPTO%%include/hcrypto/sha.h
+%%HCRYPTO%%include/hcrypto/ui.h
include/hdb-protos.h
include/hdb.h
include/hdb_asn1.h
@@ -113,10 +113,10 @@ lib/libgssapi.a
lib/libgssapi.la
lib/libgssapi.so
lib/libgssapi.so.2
-lib/libhcrypto.a
-lib/libhcrypto.la
-lib/libhcrypto.so
-lib/libhcrypto.so.5
+%%HCRYPTO%%lib/libhcrypto.a
+%%HCRYPTO%%lib/libhcrypto.la
+%%HCRYPTO%%lib/libhcrypto.so
+%%HCRYPTO%%lib/libhcrypto.so.5
lib/libhdb.a
lib/libhdb.la
lib/libhdb.so
@@ -192,6 +192,6 @@ sbin/ktutil
@dirrm include/ss
@dirrm include/krb5
@dirrm include/kadm5
-@dirrm include/hcrypto
+%%HCRYPTO%%@dirrm include/hcrypto
@dirrm include/gssapi
@dirrm include/roken