diff options
author | asomers <asomers@FreeBSD.org> | 2017-09-16 01:05:41 +0800 |
---|---|---|
committer | asomers <asomers@FreeBSD.org> | 2017-09-16 01:05:41 +0800 |
commit | 5de0d89b7c2e3e25e6242e9fc36e923f09c78ce4 (patch) | |
tree | ddef22bd1071b2efe60aa108105fe67103834ed8 /www | |
parent | f9c270608ca8ccad6d4d05ccba337332da63f305 (diff) | |
download | freebsd-ports-gnome-5de0d89b7c2e3e25e6242e9fc36e923f09c78ce4.tar.gz freebsd-ports-gnome-5de0d89b7c2e3e25e6242e9fc36e923f09c78ce4.tar.zst freebsd-ports-gnome-5de0d89b7c2e3e25e6242e9fc36e923f09c78ce4.zip |
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
Diffstat (limited to 'www')
-rw-r--r-- | www/rubygem-passenger/Makefile | 35 |
1 files changed, 33 insertions, 2 deletions
diff --git a/www/rubygem-passenger/Makefile b/www/rubygem-passenger/Makefile index 21665618d967..81f949cd528e 100644 --- a/www/rubygem-passenger/Makefile +++ b/www/rubygem-passenger/Makefile @@ -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} |