Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Aug 2013 12:55:09 +0800 (CST)
From:      Gasol Wu <gasol.wu@gmail.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/181637: [MAINTAINER] devel/pecl-inotify: [SUMMARIZE CHANGES]
Message-ID:  <20130829045509.3D9B875093E@goingmarry.kkbox.com>
Resent-Message-ID: <201308290500.r7T500O4014475@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         181637
>Category:       ports
>Synopsis:       [MAINTAINER] devel/pecl-inotify: [SUMMARIZE CHANGES]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 29 05:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Gasol Wu
>Release:        FreeBSD 9.1-RELEASE-p5 amd64
>Organization:
>Environment:
System: FreeBSD goingmarry 9.1-RELEASE-p5 FreeBSD 9.1-RELEASE-p5 #0: Sat Jul 27 01:14:23 UTC 2013
>Description:
Correct variable name to fix shared library links

Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- pecl-inotify-0.1.6_1.patch begins here ---
diff -ruN /usr/ports/devel/pecl-inotify/Makefile ./Makefile
--- /usr/ports/devel/pecl-inotify/Makefile	2012-11-23 02:54:02.000000000 +0800
+++ ./Makefile	2013-08-29 12:51:39.000000000 +0800
@@ -3,6 +3,7 @@
 
 PORTNAME=	inotify
 PORTVERSION=	0.1.6
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	http://pecl.php.net/get/
 PKGNAMEPREFIX=	pecl-
diff -ruN /usr/ports/devel/pecl-inotify/files/patch-config.m4 ./files/patch-config.m4
--- /usr/ports/devel/pecl-inotify/files/patch-config.m4	2012-11-23 02:54:02.000000000 +0800
+++ ./files/patch-config.m4	2013-08-29 12:49:04.000000000 +0800
@@ -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
--- pecl-inotify-0.1.6_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130829045509.3D9B875093E>