aboutsummaryrefslogtreecommitdiffstats
path: root/mail/qpopper
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-04-19 03:12:11 +0800
committersobomax <sobomax@FreeBSD.org>2001-04-19 03:12:11 +0800
commit9dd7d6c75133bd6d735dcf4214b402b644c8a1cd (patch)
tree6c95a456d5a536abaf7033780d14ce5a33a1c70e /mail/qpopper
parenteca0eab2891359a4c0bb89575445c2e74bedb796 (diff)
downloadfreebsd-ports-gnome-9dd7d6c75133bd6d735dcf4214b402b644c8a1cd.tar.gz
freebsd-ports-gnome-9dd7d6c75133bd6d735dcf4214b402b644c8a1cd.tar.zst
freebsd-ports-gnome-9dd7d6c75133bd6d735dcf4214b402b644c8a1cd.zip
Check that librsaref actually exists before trying to link it in.
PR: 26679 Submitted by: Yoshisato YANAGISAWA <osho@pcc-software.org>
Diffstat (limited to 'mail/qpopper')
-rw-r--r--mail/qpopper/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/mail/qpopper/Makefile b/mail/qpopper/Makefile
index bb100370047f..966b6ee58e01 100644
--- a/mail/qpopper/Makefile
+++ b/mail/qpopper/Makefile
@@ -50,7 +50,11 @@ CONFIGURE_ARGS+= --with-openssl=/usr
.elif exists(${LOCALBASE}/lib/libssl.a) && exists(${LOCALBASE}/lib/libcrypto.a)
LIB_DEPENDS+= ssl.1:${PORTSDIR}/security/openssl
CONFIGURE_ARGS+= -with-includes=${LOCALBASE}/include/openssl --with-openssl=${LOCALBASE}
-CONFIGURE_ENV+= RSAGLUE="-lrsaref -lRSAglue"
+CONFIGURE_ENV+= RSAGLUE="${RSAGLUE}"
+.if exists(${LOCALBASE}/lib/librsaref.a)
+RSAGLUE= -lrsaref
+.endif
+RSAGLUE+= -lRSAglue
.endif
post-patch: