aboutsummaryrefslogtreecommitdiff
path: root/security/krb5
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2007-10-29 23:23:27 +0000
committerCy Schubert <cy@FreeBSD.org>2007-10-29 23:23:27 +0000
commitf1625cd26f8c43aafde88227144c692ce9130fc6 (patch)
treead7fe2654adbd4a4fefb875e0c5be4d09cd98155 /security/krb5
parentfdb7c7d31d5d0a58a3ce9dcd1b62711eb3383969 (diff)
downloadports-f1625cd26f8c43aafde88227144c692ce9130fc6.tar.gz
ports-f1625cd26f8c43aafde88227144c692ce9130fc6.zip
Fix build for OpenSSL 0.9.8.
PR: 117552 Submitted by: Hirohisa Yamaguchi <umq@umo.co.jp>
Notes
Notes: svn path=/head/; revision=202374
Diffstat (limited to 'security/krb5')
-rw-r--r--security/krb5/Makefile10
-rw-r--r--security/krb5/pkg-plist2
2 files changed, 5 insertions, 7 deletions
diff --git a/security/krb5/Makefile b/security/krb5/Makefile
index 0708131e7cdb..937d238343ce 100644
--- a/security/krb5/Makefile
+++ b/security/krb5/Makefile
@@ -7,7 +7,7 @@
PORTNAME= krb5
PORTVERSION= 1.6.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= security
MASTER_SITES= http://web.mit.edu/kerberos/dist/krb5/${PORTVERSION:C/^[0-9]*\.[0-9]*/&X/:C/X\.[0-9]*$//:C/X//}/
DISTNAME= ${PORTNAME}-${PORTVERSION}-signed
@@ -22,6 +22,7 @@ CONFLICTS= krb4-[0-9]* heimdal-[0-9]* srp-[0-9]*
LATEST_LINK= ${PORTNAME}
KERBEROSV_URL= http://web.mit.edu/kerberos/
+USE_OPENSSL= yes
USE_GMAKE= yes
USE_PERL5_BUILD= yes
USE_LDCONFIG= yes
@@ -75,13 +76,10 @@ HTML_DOCS= ftp.html kdestroy.html kinit.html klist.html \
krb5-install.html krb5-user.html ksu.html \
rcp.html rlogin.html rsh.html telnet.html
-
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 700000
-PLIST_SUB+= PKINIT="@comment "
-.else
-PLIST_SUB+= PKINIT=""
+.if defined(OPENSSL_INSTALLED)
+CONFIGURE_ARGS+= CPPFLAGS="-I${OPENSSLINC} -L${OPENSSLLIB}"
.endif
post-extract:
diff --git a/security/krb5/pkg-plist b/security/krb5/pkg-plist
index 577609979425..a58155f40b9b 100644
--- a/security/krb5/pkg-plist
+++ b/security/krb5/pkg-plist
@@ -71,7 +71,7 @@ lib/libkrb5.so.3
lib/libkrb5support.so
lib/libkrb5support.so.0
lib/krb5/plugins/kdb/db2.so
-%%PKINIT%%lib/krb5/plugins/preauth/pkinit.so
+lib/krb5/plugins/preauth/pkinit.so
sbin/ftpd
sbin/gss-server
sbin/k5srvutil