freebsd-ports/archivers/pecl-rar/Makefile
Piotr Kubaj 3b3573039d MFH: r561428
archivers/pecl-rar: fix build on GCC architectures

In file included from /wrkdirs/usr/ports/archivers/pecl-rar/work-php73/rar-4.2.0/rararch.c:44:
/wrkdirs/usr/ports/archivers/pecl-rar/work-php73/rar-4.2.0/php_compat.h:15: error: redefinition of typedef 'handler_this_t'
/wrkdirs/usr/ports/archivers/pecl-rar/work-php73/rar-4.2.0/php_compat.h:15: error: previous declaration of 'handler_this_t' was here
/wrkdirs/usr/ports/archivers/pecl-rar/work-php73/rar-4.2.0/php_compat.h:19: error: redefinition of typedef 'rar_obj_ref'
/wrkdirs/usr/ports/archivers/pecl-rar/work-php73/rar-4.2.0/php_compat.h:19: error: previous declaration of 'rar_obj_ref' was here
/wrkdirs/usr/ports/archivers/pecl-rar/work-php73/rar-4.2.0/php_compat.h:46: error: redefinition of typedef 'zpp_s_size_t'
/wrkdirs/usr/ports/archivers/pecl-rar/work-php73/rar-4.2.0/php_compat.h:46: error: previous declaration of 'zpp_s_size_t' was here
2021-01-13 02:52:45 +00:00

19 lines
330 B
Makefile

# Created by: Chin-San Huang <chinsan.tw@gmail.com>
# $FreeBSD$
PORTNAME= rar
PORTVERSION= 4.2.0
CATEGORIES= archivers pear
MAINTAINER= fluffy@FreeBSD.org
COMMENT= PECL extension to create and read RAR files
LICENSE= PHP301
USES= compiler:c11 php:pecl
USE_PHP= spl:build
CONFIGURE_ARGS= --enable-rar
.include <bsd.port.mk>