aboutsummaryrefslogtreecommitdiffstats
path: root/security/cyrus-sasl2
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2002-09-14 00:23:23 +0800
committerume <ume@FreeBSD.org>2002-09-14 00:23:23 +0800
commitec44d415caab2ae4d37d3c19922fab293c9cd7c3 (patch)
treef184834aded3f6ec458ed0515355622159e5d312 /security/cyrus-sasl2
parent17cc6ccb0b5ed8eaf231e1b216f4155118c9425c (diff)
downloadfreebsd-ports-gnome-ec44d415caab2ae4d37d3c19922fab293c9cd7c3.tar.gz
freebsd-ports-gnome-ec44d415caab2ae4d37d3c19922fab293c9cd7c3.tar.zst
freebsd-ports-gnome-ec44d415caab2ae4d37d3c19922fab293c9cd7c3.zip
fix plist in case of WITHOUT_OTP.
Diffstat (limited to 'security/cyrus-sasl2')
-rw-r--r--security/cyrus-sasl2/Makefile2
-rw-r--r--security/cyrus-sasl2/pkg-plist6
2 files changed, 5 insertions, 3 deletions
diff --git a/security/cyrus-sasl2/Makefile b/security/cyrus-sasl2/Makefile
index a098be6b4935..4f81458ce379 100644
--- a/security/cyrus-sasl2/Makefile
+++ b/security/cyrus-sasl2/Makefile
@@ -60,6 +60,7 @@ SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \
.if defined(WITHOUT_OTP)
CONFIGURE_ARGS+= --disable-otp
+OTP= "@comment "
.endif
.if defined(KRB5_HOME) && exists(${KRB5_HOME})
@@ -95,6 +96,7 @@ HTDOCS= advanced appconvert gssapi index install macosx options \
plugprog programming readme sysadmin upgrading
PLIST_SUB= PREFIX=${PREFIX} \
+ OTP=${OTP} \
GSSAPI=${GSSAPI} \
EBONES=${EBONES} \
DOCSDIR=${DOCSDIR:S/^${PREFIX}\///} \
diff --git a/security/cyrus-sasl2/pkg-plist b/security/cyrus-sasl2/pkg-plist
index 813a068b2ce4..5ea7edccd08d 100644
--- a/security/cyrus-sasl2/pkg-plist
+++ b/security/cyrus-sasl2/pkg-plist
@@ -28,9 +28,9 @@ lib/sasl2/libdigestmd5.so.2
lib/sasl2/liblogin.a
lib/sasl2/liblogin.so
lib/sasl2/liblogin.so.2
-lib/sasl2/libotp.a
-lib/sasl2/libotp.so
-lib/sasl2/libotp.so.2
+%%OTP%%lib/sasl2/libotp.a
+%%OTP%%lib/sasl2/libotp.so
+%%OTP%%lib/sasl2/libotp.so.2
lib/sasl2/libplain.a
lib/sasl2/libplain.so
lib/sasl2/libplain.so.2