aboutsummaryrefslogtreecommitdiff
path: root/security/lsh
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2011-12-05 17:38:45 +0000
committerPav Lucistnik <pav@FreeBSD.org>2011-12-05 17:38:45 +0000
commita4ff3ba8b3cd0270709ae118879ec23ebf677b01 (patch)
treecf84698632f62d8ff296dc1c275387570a3fb40c /security/lsh
parent1e2c257b6c188589ae7e80246c6fe14b888dec7a (diff)
downloadports-a4ff3ba8b3cd0270709ae118879ec23ebf677b01.tar.gz
ports-a4ff3ba8b3cd0270709ae118879ec23ebf677b01.zip
Notes
Diffstat (limited to 'security/lsh')
-rw-r--r--security/lsh/Makefile11
-rw-r--r--security/lsh/pkg-plist1
2 files changed, 5 insertions, 7 deletions
diff --git a/security/lsh/Makefile b/security/lsh/Makefile
index a424cfee9608..221447e39a30 100644
--- a/security/lsh/Makefile
+++ b/security/lsh/Makefile
@@ -26,11 +26,6 @@ INSTALL_TARGET= install
CONFIGURE_ENV= PREFIX="${PREFIX}"
CONFIGURE_ARGS+= --with-include-path=${LOCALBASE}/include
CONFIGURE_ARGS+= --with-lib-path=${LOCALBASE}/lib
-.if defined(KRB5_HOME) && exists(${KRB5_HOME})
-PLIST_SUB+= KRB=""
-.else
-PLIST_SUB+= KRB="@comment "
-.endif
.if defined(WITH_THREADS) || defined(WITH_LSH_THREADS)
LDFLAGS+= ${PTHREAD_LIBS}
CFLAGS+= ${PTHREAD_CFLAGS:S=""==}
@@ -57,8 +52,10 @@ test:
.include <bsd.port.pre.mk>
-.if ${ARCH} == "powerpc"
-BROKEN= Does not deinstall cleanly on powerpc
+.if ${OSVERSION} >= 900000
+PLIST_SUB+= KRB=""
+.else
+PLIST_SUB+= KRB="@comment "
.endif
.include <bsd.port.post.mk>
diff --git a/security/lsh/pkg-plist b/security/lsh/pkg-plist
index 7f1e110a257a..20e5fe81185d 100644
--- a/security/lsh/pkg-plist
+++ b/security/lsh/pkg-plist
@@ -54,6 +54,7 @@ include/nettle/twofish.h
include/nettle/yarrow.h
lib/libnettle.a
sbin/lsh-execuv
+%%KRB%%sbin/lsh-krb-checkpw
sbin/lsh-pam-checkpw
sbin/lshd
sbin/sftp-server