freebsd-ports/archivers/libpar2/Makefile
Baptiste Daroussin e4309c5507 Chase a bunch of failures after libsigc++20 update
New libsigc++20 requires c++11 (it exposes c++11) so explicitly use -std=c++11
where needed.
Mark as broken a bunch of ports which are not c++11 compatible
2017-04-02 09:42:48 +00:00

34 lines
741 B
Makefile

# Created by: Jeff Burchell <toxic@doobie.com>
# $FreeBSD$
PORTNAME= libpar2
PORTVERSION= 0.4
PORTREVISION= 2
CATEGORIES= archivers
MASTER_SITES= http://launchpad.net/${PORTNAME}/trunk/${PORTVERSION}/+download/
LICENSE= GPLv2
MAINTAINER= toxic@doobie.com
COMMENT= Library for manipulating PAR2 files, extracted from par2cmdline
LIB_DEPENDS= libsigc-2.0.so:devel/libsigc++20
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USES= pkgconfig libtool localbase compiler:c++11-lang
USE_CXXSTD= c++11
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e "s/-lstdc++//g" \
${WRKSRC}/Makefile.in \
${WRKSRC}/configure
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>