Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Dec 2016 09:30:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 215317] [patch] www/zend-framework1: Make memcache dependency optional
Message-ID:  <bug-215317-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215317

            Bug ID: 215317
           Summary: [patch] www/zend-framework1: Make memcache dependency
                    optional
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: wg@FreeBSD.org
          Reporter: fredrik.eriksson@loopia.se
          Keywords: patch
          Assignee: wg@FreeBSD.org
             Flags: maintainer-feedback?(wg@FreeBSD.org)

Created attachment 177982
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D177982&action=
=3Dedit
Patch to make memcache dependency optional

This is basically the same issue as #213384, but against www/zend-framework1
instead of www/zend-framework.

>From #213384:

At the moment databases/pecl-memcache and databases/pecl-memcached are alwa=
ys
pulled in as run dependencies for the zend-framework port. However, as far =
as I
can tell it has never been a hard requirement to have the memcache extensio=
ns
to use the non-memcache parts of zend-framework.

The attached patch adds an MEMCACHE option to the port and will only pull in
the memcache-dependencies if this option is set.

The MEMCACHE option is off by default in my patch. I think that is a saner
default, but it may (obviously) break stuff that rely on the current port
behaviour, so I guess that's up for discussion.


The reason I stumbled on this is because the pecl-memcache ports are not
compatible with PHP7 (#208049, #207295), while zend-framework should be. So
right now this is mostly a workaround for me to build zend-framework with P=
HP7.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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