mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
Check if librsaref exists before trying to link with it.
Inspired by: ports/26679
This commit is contained in:
parent
d9bacbd1d2
commit
1487043e49
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=41655
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user