Changeset View
Changeset View
Standalone View
Standalone View
www/apache24/Makefile
Show First 20 Lines • Show All 94 Lines • ▼ Show 20 Lines | |||||
# apu-1-config --(includes|ldflags) and apr_rules.mk | # apu-1-config --(includes|ldflags) and apr_rules.mk | ||||
SSL_CFLAGS= -I${OPENSSLINC} | SSL_CFLAGS= -I${OPENSSLINC} | ||||
SSL_CONFIGURE_ON= --with-ssl=${OPENSSLBASE} | SSL_CONFIGURE_ON= --with-ssl=${OPENSSLBASE} | ||||
SSL_LDFLAGS= -L${OPENSSLLIB} | SSL_LDFLAGS= -L${OPENSSLLIB} | ||||
SSL_USES= ssl | SSL_USES= ssl | ||||
ETC_SUBDIRS= Includes envvars.d extra modules.d | ETC_SUBDIRS= Includes envvars.d extra modules.d | ||||
DEBUG_FLAGS?= -O0 -g -ggdb3 | |||||
DEBUG_CONFIGURE_ON= --enable-maintainer-mode | |||||
DEBUG_VARS= WITH_EXCEPTION_HOOK=yes | |||||
DEBUG_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-patch-server_buildmark.c | |||||
APR_CONFIG?= ${LOCALBASE}/bin/apr-1-config | APR_CONFIG?= ${LOCALBASE}/bin/apr-1-config | ||||
APU_CONFIG?= ${LOCALBASE}/bin/apu-1-config | APU_CONFIG?= ${LOCALBASE}/bin/apu-1-config | ||||
APU_LDAP?= ${LOCALBASE}/lib/apr-util-1/apr_ldap.so | APU_LDAP?= ${LOCALBASE}/lib/apr-util-1/apr_ldap.so | ||||
APU_CRYPTO_OPENSSL?= ${LOCALBASE}/lib/apr-util-1/apr_crypto_openssl.so | APU_CRYPTO_OPENSSL?= ${LOCALBASE}/lib/apr-util-1/apr_crypto_openssl.so | ||||
APU_CRYPTO_NSS?= ${LOCALBASE}/lib/apr-util-1/apr_crypto_nss.so | APU_CRYPTO_NSS?= ${LOCALBASE}/lib/apr-util-1/apr_crypto_nss.so | ||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
▲ Show 20 Lines • Show All 55 Lines • ▼ Show 20 Lines | |||||
.else | .else | ||||
CONFIGURE_ARGS+= --without-libxml2 | CONFIGURE_ARGS+= --without-libxml2 | ||||
.endif | .endif | ||||
# WITH_STATIC_SUPPORT, WITH_DEBUG, WITH_EXCEPTION_HOOK | # WITH_STATIC_SUPPORT, WITH_DEBUG, WITH_EXCEPTION_HOOK | ||||
# Only to be used for special builds | # Only to be used for special builds | ||||
.if defined(WITH_STATIC_SUPPORT) | .if defined(WITH_STATIC_SUPPORT) | ||||
CONFIGURE_ARGS+= --enable-static-support | CONFIGURE_ARGS+= --enable-static-support | ||||
.endif | |||||
.if defined(WITH_DEBUG) | |||||
# debug overrides CFLAGS | |||||
DEBUG_FLAGS?= -O0 -g -ggdb3 | |||||
CFLAGS= ${DEBUG_FLAGS} | |||||
CONFIGURE_ARGS+= --enable-maintainer-mode | |||||
WITH_EXCEPTION_HOOK= yes | |||||
.else | |||||
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-server_buildmark.c | |||||
.endif | .endif | ||||
.if defined(WITH_EXCEPTION_HOOK) | .if defined(WITH_EXCEPTION_HOOK) | ||||
CONFIGURE_ARGS+= --enable-exception-hook | CONFIGURE_ARGS+= --enable-exception-hook | ||||
.endif | .endif | ||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100085 &&\ | .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100085 &&\ | ||||
${PORT_OPTIONS:MHTTP2} && ${OPENSSLBASE} == /usr | ${PORT_OPTIONS:MHTTP2} && ${OPENSSLBASE} == /usr | ||||
SUB_FILES+= pkg-message | SUB_FILES+= pkg-message | ||||
▲ Show 20 Lines • Show All 63 Lines • Show Last 20 Lines |