7476177c26
- Fuse Panel support: fixes a few bugs with handling small log files and with apps that don't output any messages. - Python app support: fixes a Python 3 compatibility issue w.r.t. writing data over the socket. - macOS support: fixes a crash in the `passenger-config compile-nginx-engine` command which only occurs on macOS >= 10.13. - Fixes a small memory corruption issue (dangling pointer) in the ApplicationPool subsystem. - Improves support for the $TMPDIR environment variable by removing leftover hardcoded references to /tmp. Closes GH-2052. - Updated PCRE version to 8.42 (was: 8.41) across the board.
52 lines
1.7 KiB
Text
52 lines
1.7 KiB
Text
# $NetBSD: Makefile.common,v 1.5 2018/04/05 07:15:12 fhajny Exp $
|
|
# used by www/ap2-passenger/Makefile
|
|
# used by www/passenger/Makefile
|
|
|
|
DISTNAME= passenger-5.2.3
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= http://s3.amazonaws.com/phusion-passenger/releases/
|
|
MAINTAINER?= filip@joyent.com
|
|
HOMEPAGE= https://www.phusionpassenger.com/
|
|
LICENSE= mit
|
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
PATCHDIR= ${.CURDIR}/../../www/passenger/patches
|
|
DISTINFO_FILE= ${.CURDIR}/../../www/passenger/distinfo
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
PKG_SYSCONFSUBDIR= passenger
|
|
|
|
REPLACE_RUBY= bin/passenger
|
|
REPLACE_RUBY+= bin/passenger-config
|
|
REPLACE_RUBY+= bin/passenger-install-apache2-module
|
|
REPLACE_RUBY+= bin/passenger-install-nginx-module
|
|
REPLACE_RUBY+= bin/passenger-memory-stats
|
|
REPLACE_RUBY+= bin/passenger-status
|
|
REPLACE_RUBY+= src/helper-scripts/*.rb
|
|
REPLACE_RUBY+= src/helper-scripts/prespawn
|
|
|
|
CHECK_INTERPRETER_SKIP+= share/passenger/helper-scripts/wsgi-loader.py
|
|
CHECK_INTERPRETER_SKIP+= share/passenger/node/vendor-copy/winston/node_modules/async/support/sync-package-managers.js
|
|
|
|
SUBST_CLASSES+= dir
|
|
SUBST_STAGE.dir= pre-configure
|
|
SUBST_MESSAGE.dir= Fixing installation directories
|
|
SUBST_FILES.dir= src/ruby_supportlib/phusion_passenger.rb
|
|
SUBST_FILES.dir+= src/ruby_supportlib/phusion_passenger/platform_info/cxx_portability.rb
|
|
SUBST_VARS.dir= PKG_SYSCONFDIR PREFIX
|
|
|
|
MAKE_ENV+= EXTRA_LDFLAGS=${COMPILER_RPATH_FLAG}${PREFIX}/lib
|
|
|
|
.if ${OPSYS} == "SunOS"
|
|
MAKE_ENV+= LIBEV_EXTRA_ARGS=ac_cv_header_sys_inotify_h=no
|
|
.endif
|
|
|
|
pre-install:
|
|
${RM} -f ${WRKSRC}/src/ruby_supportlib/phusion_passenger/packaging.rb.orig \
|
|
${WRKSRC}/src/ruby_supportlib/phusion_passenger/platform_info/cxx_portability.rb.orig
|
|
|
|
.include "../../www/curl/buildlink3.mk"
|
|
.include "../../lang/ruby/modules.mk"
|