[Bug 201193] Mk/bsd.php.mk setting incorrect PHP_EXT_DIR

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jul 1 21:26:30 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201193

--- Comment #4 from Antoine Brodin <antoine at FreeBSD.org> ---
Most other build system enforce EXTENSION_DIR, so that it doesn't randomly
changes depending on options,  for instance

OpenBSD ports:

lang/php/Makefile.inc:MODULES_SUBDIR=             lib/php-${PV}/modules
lang/php/Makefile.inc:MODULES_DIR=               
${LOCALBASE}/${MODULES_SUBDIR}
lang/php/Makefile.inc-CONFIGURE_ENV=          CFLAGS="${CFLAGS}
-I${LOCALBASE}/include -pthread" \
lang/php/Makefile.inc-                        LDFLAGS="-L${LOCALBASE}/lib
-pthread" \
lang/php/Makefile.inc:                    EXTENSION_DIR=${MODULES_DIR} \

pkgsrc:

lang/php/phpversion.mk:PHP_EXTENSION_DIR=        lib/php/${PHP56_RELDATE}
lang/php56/Makefile.php:CONFIGURE_ENV+=         
EXTENSION_DIR="${PREFIX}/${PHP_EXTENSION_DIR}"

arch linux:

php/trunk/PKGBUILD:     EXTENSION_DIR=/usr/lib/php/modules
php/trunk/PKGBUILD-     export EXTENSION_DIR

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list