Date: Fri, 15 Sep 2017 17:05:41 +0000 (UTC) From: Alan Somers <asomers@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r449908 - head/www/rubygem-passenger Message-ID: <201709151705.v8FH5fID069862@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: asomers (src committer) Date: Fri Sep 15 17:05:41 2017 New Revision: 449908 URL: https://svnweb.freebsd.org/changeset/ports/449908 Log: www/rubygem-passenger: fix stage-qa errors Fix multiple stage-qa errors: * shebangfix * Unstripped binraies * missing USES=libtool * several missing LIB_DEPENDS, and a USES=ssl * missing PLIST dirs PR: 220681 Reported by: lifanov Approved by: osa (maintainer timeout) Sponsored by: Spectra Logic Corp Modified: head/www/rubygem-passenger/Makefile Modified: head/www/rubygem-passenger/Makefile ============================================================================== --- head/www/rubygem-passenger/Makefile Fri Sep 15 17:00:20 2017 (r449907) +++ head/www/rubygem-passenger/Makefile Fri Sep 15 17:05:41 2017 (r449908) @@ -28,19 +28,45 @@ OPTIONS_DEFAULT= APACHE22 USE_RUBY= yes RAKE_BIN= ${LOCALBASE}/bin/rake -USES= cpe gem +USES= cpe gem libtool shebangfix ssl +SHEBANG_FILES= \ + src/cxx_supportlib/vendor-copy/libuv/gyp_uv.py \ + dev/vagrant/nginx_start \ + dev/vagrant/provision.sh \ + dev/ci/run-tests-with-docker \ + dev/ci/scripts/setup-host-natively.sh \ + dev/ci/scripts/docker-entrypoint-stage2.sh \ + dev/ci/scripts/inituidgid \ + dev/ci/scripts/debug-console-wrapper.sh \ + dev/ci/scripts/run-tests-natively-stage2.sh \ + dev/ci/scripts/docker-entrypoint.sh \ + dev/ci/run-tests-natively \ + dev/ci/setup-host + NOPORTDOCS= yes APACHE22_USE= APACHE=22+ LIB_DEPENDS+= libuv.so:devel/libuv \ - libcurl.so:ftp/curl + libcurl.so:ftp/curl \ + libunwind.so:devel/libunwind \ + libapr-1.so:devel/apr1 + BUILD_DEPENDS+= rubygem-rack16>=0:www/rubygem-rack16 RUN_DEPENDS:= ${BUILD_DEPENDS} SUB_LIST+= GEM_LIB_DIR=${GEM_LIB_DIR} RUBY=${RUBY} SUB_FILES= pkg-message +PLIST_DIRS= ${GEM_LIB_DIR}/buildout/common/libboost_oxt/boost \ + ${GEM_LIB_DIR}/buildout/common/libboost_oxt/oxt \ + ${GEM_LIB_DIR}/buildout/common/libpassenger_common/DataStructures \ + ${GEM_LIB_DIR}/buildout/common/libpassenger_common/MemoryKit \ + ${GEM_LIB_DIR}/buildout/common/libpassenger_common/ServerKit \ + ${GEM_LIB_DIR}/buildout/common/libpassenger_common/Utils \ + ${GEM_LIB_DIR}/buildout/common/libpassenger_common/vendor-modified \ + ${GEM_LIB_DIR}/download_cache + PLIST_FILES= bin/passenger \ bin/passenger-config \ bin/passenger-install-apache2-module \ @@ -62,6 +88,8 @@ pre-patch: s! -feliminate-unused-debug-symbols -feliminate-unused-debug-types!!g; \ 166s!true!false!' \ ${WRKSRC}/build/basics.rb + @${REINPLACE_CMD} '1s:python:python2:' \ + ${WRKSRC}/src/cxx_supportlib/vendor-copy/libuv/gyp_uv.py pre-patch-DEBUG-off: @${REINPLACE_CMD} \ @@ -88,6 +116,9 @@ post-install: ( cd ${WRKSRC} && \ ${COPYTREE_SHARE} buildout ${STAGEDIR}${PREFIX}/${GEMS_DIR}/${PORTNAME}-${PORTVERSION} ) ${CHMOD} +x ${STAGEDIR}${PREFIX}/${GEMS_DIR}/${PORTNAME}-${PORTVERSION}/buildout/support-binaries/* + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/buildout/ruby/*/passenger_native_support.so + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/buildout/support-binaries/PassengerAgent + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/buildout/apache2/mod_passenger.so post-install-SYMLINK-on: ${LN} -s ${GEM_NAME} ${STAGEDIR}${PREFIX}/${GEMS_DIR}/${PORTNAME}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709151705.v8FH5fID069862>