diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-04-19 03:16:52 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-04-19 03:16:52 +0800 |
commit | d341f83060a1b92c9d644acce608ab48f314d331 (patch) | |
tree | 02b703f58b22933c762a53910edb75ce2dbd41ee /security/fressh | |
parent | 41e9361dc1665fd7d6e6ed1bff6f03787e3d0e5c (diff) | |
download | freebsd-ports-gnome-d341f83060a1b92c9d644acce608ab48f314d331.tar.gz freebsd-ports-gnome-d341f83060a1b92c9d644acce608ab48f314d331.tar.zst freebsd-ports-gnome-d341f83060a1b92c9d644acce608ab48f314d331.zip |
Check if librsaref exists before trying to link with it.
Inspired by: ports/26679
Diffstat (limited to 'security/fressh')
-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 |