Annotation of pkgsrc/lang/php83/Makefile.php, revision 1.1

1.1     ! taca        1: # $NetBSD$
        !             2: # used by lang/php83/Makefile
        !             3: # used by www/ap-php/Makefile
        !             4: # used by www/php-fpm/Makefile
        !             5: 
        !             6: # segfaults when buidling with many compilers
        !             7: # https://bugs.php.net/bug.php?id=74527
        !             8: # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86236
        !             9: .if ${MACHINE_ARCH} == "i386"
        !            10: CONFIGURE_ARGS+=       --disable-gcc-global-regs
        !            11: .endif
        !            12: 
        !            13: # the binary actually needs full dep on PCRE
        !            14: BUILDLINK_DEPMETHOD.pcre2=     full
        !            15: 
        !            16: USE_LIBTOOL=           YES
        !            17: USE_LANGUAGES=         c c++
        !            18: GNU_CONFIGURE=         YES
        !            19: BUILD_DEFS+=           VARBASE
        !            20: PLIST_VARS+=           dtrace
        !            21: 
        !            22: .include "../../lang/php83/Makefile.common"
        !            23: 
        !            24: DISTINFO_FILE= ${.CURDIR}/../../lang/php83/distinfo
        !            25: PATCHDIR=      ${.CURDIR}/../../lang/php83/patches
        !            26: 
        !            27: CONFIGURE_ARGS+=       --with-config-file-path=${PKG_SYSCONFDIR}
        !            28: CONFIGURE_ARGS+=       --with-config-file-scan-dir=${PKG_SYSCONFDIR}/php.d
        !            29: CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
        !            30: CONFIGURE_ARGS+=       --localstatedir=${VARBASE}
        !            31: 
        !            32: CONFIGURE_ARGS+=       --without-mysqli
        !            33: CONFIGURE_ARGS+=       --without-iconv
        !            34: CONFIGURE_ARGS+=       --without-pear
        !            35: CONFIGURE_ARGS+=       --without-sqlite3
        !            36: CONFIGURE_ARGS+=       --with-external-pcre
        !            37: 
        !            38: CONFIGURE_ARGS+=       --disable-intl
        !            39: CONFIGURE_ARGS+=       --disable-posix
        !            40: CONFIGURE_ARGS+=       --disable-opcache
        !            41: CONFIGURE_ARGS+=       --disable-pdo
        !            42: 
        !            43: CONFIGURE_ARGS+=       --enable-cgi
        !            44: CONFIGURE_ARGS+=       --enable-mysqlnd
        !            45: CONFIGURE_ARGS+=       --enable-xml
        !            46: #CONFIGURE_ARGS+=      --with-libxml-dir=${PREFIX}
        !            47: 
        !            48: CONFIGURE_ENV+=                EXTENSION_DIR="${PREFIX}/${PHP_EXTENSION_DIR}"
        !            49: 
        !            50: .include "../../textproc/libxml2/buildlink3.mk"
        !            51: 
        !            52: #CONFIGURE_ARGS+=      --with-pcre-regex=${BUILDLINK_PREFIX.pcre2}
        !            53: 
        !            54: .include "options.mk"
        !            55: 
        !            56: DL_AUTO_VARS=          yes
        !            57: .include "../../mk/dlopen.buildlink3.mk"

CVSweb <webmaster@jp.NetBSD.org>