freebsd-ports/textproc/p5-Text-BibTeX/Makefile
Piotr Kubaj 587615defe textproc/p5-Text-BibTeX: fix build with GCC-based architectures
btparse/tests/namebug.c:193: error: 'for' loop initial declaration used outside C99 mode on GCC architectures.

Set USE_CSTD=c99 to fix build.

PR:		237254
Approved by:	perl (maintainer timeout), mat (mentor)
Differential Revision:	https://reviews.freebsd.org/D20114
2019-05-01 17:58:35 +00:00

33 lines
763 B
Makefile

# Created by: David Bremner <bremner@unb.ca>
# $FreeBSD$
PORTNAME= Text-BibTeX
PORTVERSION= 0.88
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Manipulate BibTeX files from perl
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
BUILD_DEPENDS= p5-Config-AutoConf>=0.16:devel/p5-Config-AutoConf \
p5-ExtUtils-LibBuilder>=0.02:devel/p5-ExtUtils-LibBuilder
TEST_DEPENDS= p5-Capture-Tiny>=0.06:devel/p5-Capture-Tiny
USES= perl5
USE_CSTD= c99
USE_PERL5= modbuild
CFLAGS_amd64= -fPIC
USE_LDCONFIG= yes
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libbtparse.so
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Text/BibTeX/BibTeX.so
.include <bsd.port.mk>