aboutsummaryrefslogtreecommitdiff
path: root/archivers/pecl-rar/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/pecl-rar/Makefile')
-rw-r--r--archivers/pecl-rar/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/archivers/pecl-rar/Makefile b/archivers/pecl-rar/Makefile
index be2bd9ae9b89..728bb6003a4d 100644
--- a/archivers/pecl-rar/Makefile
+++ b/archivers/pecl-rar/Makefile
@@ -1,15 +1,20 @@
PORTNAME= rar
PORTVERSION= 4.2.0
+PORTREVISION= 2
CATEGORIES= archivers pear
+PATCH_SITES= https://github.com/cataphract/php-rar/commit/
+PATCHFILES= ab26d285759e4c917879967b09976a44829ed570.diff:-p1
+
MAINTAINER= fluffy@FreeBSD.org
COMMENT= PECL extension to create and read RAR files
+WWW= https://pecl.php.net/package/rar
LICENSE= PHP301
-USES= compiler:c11 php:pecl
-USE_PHP= spl:build
-IGNORE_WITH_PHP= 81 82
+USES= compiler:c11 php:build,pecl
+
+CFLAGS+= -Wno-error=incompatible-function-pointer-types
CONFIGURE_ARGS= --enable-rar