aboutsummaryrefslogtreecommitdiffstats
path: root/security/krb5-16
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2007-10-30 07:23:27 +0800
committercy <cy@FreeBSD.org>2007-10-30 07:23:27 +0800
commit8d97b20325f7513a3402c1ae92db5fcb978feebb (patch)
tree4217c4b878989c8b2ef3f4582c87b3e36f8105f8 /security/krb5-16
parent624bc44ee1a296c3ed1a66dd4497446aa3c272e3 (diff)
downloadfreebsd-ports-gnome-8d97b20325f7513a3402c1ae92db5fcb978feebb.tar.gz
freebsd-ports-gnome-8d97b20325f7513a3402c1ae92db5fcb978feebb.tar.zst
freebsd-ports-gnome-8d97b20325f7513a3402c1ae92db5fcb978feebb.zip
Fix build for OpenSSL 0.9.8.
PR: 117552 Submitted by: Hirohisa Yamaguchi <umq@umo.co.jp>
Diffstat (limited to 'security/krb5-16')
-rw-r--r--security/krb5-16/Makefile10
-rw-r--r--security/krb5-16/pkg-plist2
2 files changed, 5 insertions, 7 deletions
diff --git a/security/krb5-16/Makefile b/security/krb5-16/Makefile
index 0708131e7cdb..937d238343ce 100644
--- a/security/krb5-16/Makefile
+++ b/security/krb5-16/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-16/pkg-plist b/security/krb5-16/pkg-plist
index 577609979425..a58155f40b9b 100644
--- a/security/krb5-16/pkg-plist
+++ b/security/krb5-16/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