Files
ports/security/sst/files/Makefile
T
Mikhail Teterin 7f83d9efc7 Upgrade to upstream's 1.23. Try to organize the checks
for various methods -- some may be too new to be available
in earlier versions of OpenSSL, others -- too old to be
found in latest ones.

Submitted upstream.

Reported by:	pkg-fallout
2018-11-05 00:04:04 +00:00

19 lines
419 B
Makefile

# $FreeBSD$
PROG=sst
BINDIR=${PREFIX}/sbin
MANDIR=${PREFIX}/man/man
CFLAGS+= -DCONFDIR='"${OPENSSLDIR}"' -DCERTF='"certs/sst.pem"' \
-I${OPENSSLINC} -Wno-comment
# -Wno-dangling-else not available in gcc-4.2, which is still around...
.if exists(/usr/bin/nc)
CFLAGS+= -DNETCAT='"/usr/bin/nc"'
.else
CFLAGS+= -DNETCAT='"${LOCALBASE}/bin/netcat"'
.endif
LDADD+= -L${OPENSSLLIB} -lssl -lcrypto
.include <bsd.prog.mk>