Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Jul 2015 21:26:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 201193] Mk/bsd.php.mk setting incorrect PHP_EXT_DIR
Message-ID:  <bug-201193-13-YUjbtr674s@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-201193-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-201193-13@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #4 from Antoine Brodin <antoine@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.



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