diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-04-19 03:12:11 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-04-19 03:12:11 +0800 |
commit | 9dd7d6c75133bd6d735dcf4214b402b644c8a1cd (patch) | |
tree | 6c95a456d5a536abaf7033780d14ce5a33a1c70e /mail/qpopper | |
parent | eca0eab2891359a4c0bb89575445c2e74bedb796 (diff) | |
download | freebsd-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/Makefile | 6 |
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: |