freebsd-ports/security/libsodium/Makefile
Gerald Pfeifer 89f8b05214 Bump PORTREVISIONS for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.8.5 to GCC 4.9.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

In particular that is ports with USE_GCC=yes, USE_GCC=any, or one of
gcc-c++11-lib, openmp, nestedfct, c++11-lib as well as c++14-lang,
c++11-lang, c++0x, c11 requested via USES=compiler.
2016-11-20 09:38:08 +00:00

40 lines
1 KiB
Makefile

# $FreeBSD$
PORTNAME= libsodium
PORTVERSION= 1.0.11
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://download.libsodium.org/libsodium/releases/
MAINTAINER= vsevolod@FreeBSD.org
COMMENT= Library to build higher-level cryptographic tools
LICENSE= ISCL
GNU_CONFIGURE= yes
USES= libtool pathfix pkgconfig compiler:c11
USE_LDCONFIG= yes
CONFIGURE_ARGS+= --enable-blocking-random
INSTALL_TARGET?= install-strip
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ${ARCH} == i386 && ${OSVERSION} < 1000036
# resolve undefined reference to __stack_chk_fail_local
LDFLAGS+= -lssp_nonshared -Wl,--no-undefined
.endif
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/AUTHORS ${STAGEDIR}${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/README.markdown ${STAGEDIR}${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/THANKS ${STAGEDIR}${DOCSDIR}/
regression-test: build
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} \
${MAKEFILE} ${MAKE_ARGS} check)
.include <bsd.port.post.mk>