ports/devel/php5-ice/files/patch-php-config-Make.rules.php
Ruslan Makhmatkhanov 761142e0b4 - update to 3.5.0
- pass maintainership to submitter
- new style Makefile header
- optionsNG
- install shared PHP file in the correct place
- don't install slice files anymore, since devel/ice (a dependency)
  already installs those in the correct location
- add license (GPLv2)
- fix BUILD_DEPENDS
- add option that allows to use of PHP5 namespaces
- support PHP 5.4
- fixes for Clang and C++11
- remove outdated pkg-message
- fix patch filenames

PR:		179241
Submitted by:	Michael Gmelin <freebsd@grem.de>
2013-06-17 11:49:32 +00:00

23 lines
607 B
PHP

--- 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
-install_phpdir = $(prefix)/php
-install_libdir = $(prefix)/php
+install_phpdir = $(prefix)/share/pear
+install_libdir = $(prefix)/lib/php/$(PHP_EXT_DIR)
#
# Platform specific definitions
@@ -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