Upgrade to 0.3.1.

This commit is contained in:
Vanilla I. Shu 2015-01-13 03:34:47 +00:00
parent 0862d74db9
commit 08188d55bb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=376902
3 changed files with 16 additions and 4 deletions

View file

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= expect
PORTVERSION= 0.2.9
PORTREVISION= 1
PORTVERSION= 0.3.1
CATEGORIES= devel pear
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
@ -17,9 +16,11 @@ LIB_DEPENDS= libexpect.so:${PORTSDIR}/lang/expect
LICENSE= PHP301
USES= tcl:86
USE_PHP= yes
USE_PHPEXT= yes
CFLAGS+= -I${TCL_INCLUDEDIR}
CONFIGURE_ARGS+=--with-expect=${LOCALBASE}
.include <bsd.port.mk>

View file

@ -1,2 +1,2 @@
SHA256 (PECL/expect-0.2.9.tgz) = 6a928316806b89bdb38fc30c366a8c0b360b26cb6c32f7fab945a6c3832a2f9d
SIZE (PECL/expect-0.2.9.tgz) = 6424
SHA256 (PECL/expect-0.3.1.tgz) = 3629176ed439fc1622ea64d94009df3165ebe556028028f0e76cf4f6efc2d59a
SIZE (PECL/expect-0.3.1.tgz) = 6775

View file

@ -0,0 +1,11 @@
--- config.m4.orig 2015-01-13 11:30:56.700043804 +0800
+++ config.m4 2015-01-13 11:31:42.927041253 +0800
@@ -31,7 +31,7 @@ if test "$PHP_EXPECT" != "no"; then
fi
done
- PHP_ADD_LIBRARY_WITH_PATH(tcl$TCL_VERSION, $TCL_PREFIX/lib, EXPECT_SHARED_LIBADD)
+ PHP_ADD_LIBRARY_WITH_PATH(tcl$TCL_MAJOR_VERSION$TCL_MINOR_VERSION, $TCL_PREFIX/lib, EXPECT_SHARED_LIBADD)
PHP_ADD_LIBRARY_WITH_PATH(expect, $LIBEXPECT_DIR/lib, EXPECT_SHARED_LIBADD)
PHP_ADD_INCLUDE($LIBEXPECT_INCLUDE_DIR)