diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-04-18 19:12:11 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-04-18 19:12:11 +0000 |
commit | 7f0dc150174788fe19034d2b9abc6356044b8ee9 (patch) | |
tree | 74eabd4131ce51423e2be183a1c1d26c50a4d040 /mail/qpopper | |
parent | 79ed67cbd384a017f84709f0f13e29ff2a05675c (diff) |
Check that librsaref actually exists before trying to link it in.
PR: 26679
Submitted by: Yoshisato YANAGISAWA <osho@pcc-software.org>
Notes
Notes:
svn path=/head/; revision=41653
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: |