summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/fressh/Makefile6
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