freebsd-ports/sysutils/libcdio-paranoia/Makefile
Piotr Kubaj 775d626efe sysutils/libcdio-paranoia: fix build on GCC architectures
Use C11 compiler:
In file included from toc.c:30:
../../include/cdio/paranoia/toc.h:23: error: redefinition of typedef 'cdrom_paranoia_t'
../../include/cdio/paranoia/cdda.h:40: error: previous declaration of 'cdrom_paranoia_t' was here
../../include/cdio/paranoia/toc.h:24: error: redefinition of typedef 'cdrom_drive_t'
../../include/cdio/paranoia/cdda.h:41: error: previous declaration of 'cdrom_drive_t' was here
2019-12-22 14:38:57 +00:00

30 lines
666 B
Makefile

# $FreeBSD$
PORTNAME= libcdio-paranoia
PORTVERSION= 10.2+2.0.1
CATEGORIES= sysutils
MASTER_SITES= GNU/libcdio
MAINTAINER= jhale@FreeBSD.org
COMMENT= Read audio from the CDROM directly as data
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libcdio.so:sysutils/libcdio
USES= compiler:c11 gmake libtool localbase pathfix perl5 pkgconfig tar:bzip2
USE_LDCONFIG= yes
USE_PERL5= build
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
TEST_TARGET= check
post-patch:
${REINPLACE_CMD} -e 's|/jp/man1|/ja/man1|' \
${WRKSRC}/doc/ja/Makefile.in
${REINPLACE_CMD} -e 's|freebsd10\.\*|freebsd[1-9][0-9].*|' \
${WRKSRC}/configure
.include <bsd.port.mk>