From owner-svn-ports-all@FreeBSD.ORG Mon Jan 6 15:08:44 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3716CC07; Mon, 6 Jan 2014 15:08:44 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0981C18DE; Mon, 6 Jan 2014 15:08:44 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s06F8hO9099891; Mon, 6 Jan 2014 15:08:43 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s06F8h9c099889; Mon, 6 Jan 2014 15:08:43 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201401061508.s06F8h9c099889@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Mon, 6 Jan 2014 15:08:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r338891 - in head/devel/pecl-inotify: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jan 2014 15:08:44 -0000 Author: sunpoet Date: Mon Jan 6 15:08:43 2014 New Revision: 338891 URL: http://svnweb.freebsd.org/changeset/ports/338891 Log: - Correct variable name to fix shared library links - Bump PORTREVISION for package change - While I'm here, convert to new LIB_DEPENDS format and support STAGEDIR PR: ports/181637 Submitted by: Gasol Wu (maintainer) Modified: head/devel/pecl-inotify/Makefile head/devel/pecl-inotify/files/patch-config.m4 (contents, props changed) Modified: head/devel/pecl-inotify/Makefile ============================================================================== --- head/devel/pecl-inotify/Makefile Mon Jan 6 15:08:38 2014 (r338890) +++ head/devel/pecl-inotify/Makefile Mon Jan 6 15:08:43 2014 (r338891) @@ -3,6 +3,7 @@ PORTNAME= inotify PORTVERSION= 0.1.6 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- @@ -14,7 +15,7 @@ COMMENT= This extension allows to use in LICENSE= PHP301 -LIB_DEPENDS= inotify:${PORTSDIR}/devel/libinotify +LIB_DEPENDS= libinotify.so:${PORTSDIR}/devel/libinotify USE_PHP= yes USE_PHP_BUILD= yes @@ -22,5 +23,4 @@ USE_PHPIZE= yes USE_PHPEXT= yes IGNORE_WITH_PHP=4 -NO_STAGE= yes .include Modified: head/devel/pecl-inotify/files/patch-config.m4 ============================================================================== --- head/devel/pecl-inotify/files/patch-config.m4 Mon Jan 6 15:08:38 2014 (r338890) +++ head/devel/pecl-inotify/files/patch-config.m4 Mon Jan 6 15:08:43 2014 (r338891) @@ -1,6 +1,6 @@ --- ./config.m4.orig 2012-05-04 17:51:20.000000000 +0800 -+++ ./config.m4 2012-06-27 12:05:19.620198000 +0800 -@@ -1,22 +1,52 @@ ++++ ./config.m4 2013-08-29 12:49:00.000000000 +0800 +@@ -1,22 +1,51 @@ dnl $Id: config.m4 262896 2008-07-17 19:11:16Z lbarnaud $ dnl config.m4 for extension inotify @@ -44,8 +44,6 @@ + AC_MSG_ERROR([Cannot find libevent headers]) + fi + -+ PHP_ADD_INCLUDE($LIBINOTIFY_DIR/include) -+ + LIBNAME=inotify + LIBSYMBOL=inotify_init + @@ -55,13 +53,14 @@ + + PHP_CHECK_LIBRARY($LIBNAME,$LIBSYMBOL, + [ -+ PHP_ADD_LIBRARY_WITH_PATH($LIBNAME, $LIBINOTIFY_DIR/$PHP_LIBDIR, LIBINOTIFY_SHARED_LIBADD) ++ PHP_ADD_INCLUDE($LIBINOTIFY_DIR/include) ++ PHP_ADD_LIBRARY_WITH_PATH($LIBNAME, $LIBINOTIFY_DIR/$PHP_LIBDIR, INOTIFY_SHARED_LIBADD) + ],[ + AC_MSG_ERROR([Your system does not support inotify]) + ],[ -+ -L$LIBINOTIFY_DIR/$PHP_LIBDIR ++ -L$LIBINOTIFY_DIR/$PHP_LIBDIR ]) -+ PHP_SUBST(LIBINOTIFY_SHARED_LIBADD) ++ PHP_SUBST(INOTIFY_SHARED_LIBADD) PHP_NEW_EXTENSION(inotify, inotify.c, $ext_shared) fi