summaryrefslogtreecommitdiff
path: root/devel/ice/files/patch-php-config-Make.rules.php
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2014-01-09 01:57:20 +0000
committerMatthias Andree <mandree@FreeBSD.org>2014-01-09 01:57:20 +0000
commit35717bde57f174079aca7b413f3f04576e86fdd1 (patch)
tree3949c3a70930dbf0a4a925df2f214886b4bd20cf /devel/ice/files/patch-php-config-Make.rules.php
parentAdd LIBOWN and LIBGRP to uidfix (diff)
Overhaul devel/ice, devel/py-ice and devel/php5-ice:
Changes from [*]: - Update Ice to 3.5.1. - Stageify all three ports. - Convert py-ice and php5-ice to slave ports. - Use ICONV_LIB, so it builds ok with native iconv [1]. - Workaround for FreeBSD 10's static destructor order disaster [2]. - Install man pages. - Allow package build for non-root users. [1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/using-iconv.html [2] http://lists.freebsd.org/pipermail/freebsd-ports/2013-June/084580.html Changes from [3]: - Convert LIB_DEPENDS to new syntax. - USE_GMAKE -> USES - list Berkeley DB 6 invalid, requires upstream changes, but upstream is loathe to make those due to licensing change in BDB - remove BDB 2 and 3 from invalid listing, we no longer have these ports PR: ports/184453 [*] PR: ports/185569 [3] Submitted by: Michael Gmelin (maintainer) [*] Submitted by: mandree [3] Approved by: Michael Gmelin (maintainer) [3]
Notes
Notes: svn path=/head/; revision=339196
Diffstat (limited to 'devel/ice/files/patch-php-config-Make.rules.php')
-rw-r--r--devel/ice/files/patch-php-config-Make.rules.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/devel/ice/files/patch-php-config-Make.rules.php b/devel/ice/files/patch-php-config-Make.rules.php
new file mode 100644
index 000000000000..9b2a08c7e276
--- /dev/null
+++ b/devel/ice/files/patch-php-config-Make.rules.php
@@ -0,0 +1,23 @@
+--- php/config/Make.rules.php.orig 2013-03-11 15:19:47.000000000 +0000
++++ php/config/Make.rules.php 2013-06-02 14:36:13.744196194 +0000
+@@ -100,8 +100,8 @@
+ endif
+
+ libdir = $(top_srcdir)/lib
+ ifneq ($(prefix), /usr)
+-install_phpdir = $(prefix)/php
+-install_libdir = $(prefix)/php
++install_phpdir = $(prefix)/share/pear
++install_libdir = $(prefix)/lib/php/$(PHP_EXT_DIR)
+ else
+
+@@ -155,7 +155,8 @@
+ endif
+
+ ifeq ($(installphplib),)
+- installphplib = $(INSTALL) $(1) $(2); \
++ installphplib = mkdir -p $(2) ; \
++ $(INSTALL) $(1) $(2); \
+ chmod a+rx $(2)/$(notdir $(1))
+ endif
+