aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2013-06-13 23:44:29 +0000
committerMartin Wilke <miwi@FreeBSD.org>2013-06-13 23:44:29 +0000
commit1e1f342b570bf29f3c64fdda33e5821daf1b0c8f (patch)
tree2c0c0ab0967f4c55738c1bd27dbedae0ef3e63d9 /devel
parent8928cebe9a2884cdcd1572ff293d0d06d2e808ff (diff)
downloadports-1e1f342b570bf29f3c64fdda33e5821daf1b0c8f.tar.gz
ports-1e1f342b570bf29f3c64fdda33e5821daf1b0c8f.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/pecl-hidef/Makefile10
-rw-r--r--devel/pecl-hidef/distinfo4
2 files changed, 10 insertions, 4 deletions
diff --git a/devel/pecl-hidef/Makefile b/devel/pecl-hidef/Makefile
index 9be13ded1236..e8dbd02bd5f0 100644
--- a/devel/pecl-hidef/Makefile
+++ b/devel/pecl-hidef/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= hidef
-PORTVERSION= 0.1.8
+PORTVERSION= 0.1.13
CATEGORIES= devel pear
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
@@ -16,8 +16,14 @@ LICENSE= PHP301
USE_PHP= yes
USE_PHPEXT= yes
-IGNORE_WITH_PHP=4
CONFIGURE_ARGS= --enable-hidef
+CFLAGS+=-I${LOCALBASE}/include
+LDFLAGS+=-L${LOCALBASE}/lib
+
+post-patch:
+ @${REINPLACE_CMD} -e 's,malloc.h,stdlib.h,g' \
+ ${WRKSRC}/hidef.c
+
.include <bsd.port.mk>
diff --git a/devel/pecl-hidef/distinfo b/devel/pecl-hidef/distinfo
index d1ab41b61aee..55afa9db1af6 100644
--- a/devel/pecl-hidef/distinfo
+++ b/devel/pecl-hidef/distinfo
@@ -1,2 +1,2 @@
-SHA256 (PECL/hidef-0.1.8.tgz) = eb9876b08e42c70daf10d226611e9e64a53d1a485d5296b8bda26d9cc87dd696
-SIZE (PECL/hidef-0.1.8.tgz) = 17200
+SHA256 (PECL/hidef-0.1.13.tgz) = e4fb6029260428e2def2bf048711c57c34335c06516f17b20669e2a34c29854e
+SIZE (PECL/hidef-0.1.13.tgz) = 21910