diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-04-18 19:16:52 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-04-18 19:16:52 +0000 |
commit | 1487043e496de5534501a978a34e0bb5775d5c3f (patch) | |
tree | d339a38bf1779b1d96893c0b180a75957effbc31 | |
parent | Update to 0.8.0. (diff) |
Check if librsaref exists before trying to link with it.
Inspired by: ports/26679
Notes
Notes:
svn path=/head/; revision=41655
-rw-r--r-- | security/fressh/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/security/fressh/Makefile b/security/fressh/Makefile index 540c001aab8a..17d92e64aa16 100644 --- a/security/fressh/Makefile +++ b/security/fressh/Makefile @@ -21,7 +21,11 @@ USE_BZIP2= yes LIB_DEPENDS+= ssl.1:${PORTSDIR}/security/openssl MAKE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" \ - RSAGLUE="-lrsaref -lRSAglue" + RSAGLUE="${RSAGLUE}" +.if exists(${LOCALBASE}/lib/librsaref.a) +RSAGLUE= -lrsaref +.endif +RSAGLUE+= -lRSAglue .endif .endif |