Index: head/devel/efl/Makefile =================================================================== --- head/devel/efl/Makefile (revision 491079) +++ head/devel/efl/Makefile (revision 491080) @@ -1,192 +1,196 @@ # Created by: Grzegorz Blach # $FreeBSD$ PORTNAME= efl DISTVERSION= 1.20.7 PORTREVISION= 5 CATEGORIES= devel enlightenment MASTER_SITES= http://download.enlightenment.org/rel/libs/${PORTNAME}/ DIST_SUBDIR= enlightenment MAINTAINER= enlightenment@FreeBSD.org COMMENT= Enlightenment Foundation Libraries LICENSE= BSD2CLAUSE LGPL21 LICENSE_COMB= multi LIB_DEPENDS= libgif.so:graphics/giflib \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libdbus-1.so:devel/dbus \ - libsndfile.so:audio/libsndfile \ - libunwind.so:devel/libunwind + libsndfile.so:audio/libsndfile # lib/libeio.so.1 CONFLICTS_INSTALL= libeio GNU_CONFIGURE= yes USES= autoreconf compiler:c++14-lang gettext-tools gmake iconv jpeg \ libtool pathfix pkgconfig python:2.7,run shared-mime-info \ shebangfix tar:xz SHEBANG_FILES= src/scripts/eina/eina-bench-cmp USE_XORG= x11 xcb xcursor xcomposite xdamage xext xfixes xi xinerama xp \ xrandr xrender xtst xscrnsaver USE_LDCONFIG= yes CONFIGURE_ARGS= --with-profile=release \ --enable-multisense \ --disable-systemd \ --disable-elput \ --disable-cserve \ --enable-i-really-know-what-i-am-doing-and-that-this-will-probably-break-things-and-i-will-fix-them-myself-and-send-patches-abb CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib INSTALLS_ICONS= yes PLIST_SUB= BRANCHVERSION=${PORTVERSION:R} PORTVERSION=${PORTVERSION} OPTIONS_DEFINE= AVAHI FRIBIDI HARFBUZZ NLS PHYSICS PULSEAUDIO SSL WAYLAND WAYLAND_EGL OPTIONS_GROUP= EMOTION INPUT LOADER OPTIONS_GROUP_EMOTION= GSTREAMER LIBXINE V4L VLC OPTIONS_GROUP_INPUT= IBUS SCIM OPTIONS_GROUP_LOADER= OPENJPEG PDF PS RAW SVG WEBP XCF OPTIONS_RADIO= ENGINE OPTIONS_RADIO_ENGINE= OPENGL OPENGLES SDL OPTIONS_DEFAULT= FRIBIDI HARFBUZZ PHYSICS PULSEAUDIO SSL GSTREAMER PDF SVG OPENGL OPTIONS_SUB= yes HARFBUZZ_DESC= OpenType text shaping engine PHYSICS_DESC= Physics effects WAYLAND_DESC= Wayland backend support WAYLAND_EGL_DESC= Wayland-EGL backend support VLC_DESC= Multimedia support by VLC IBUS_DESC= Intelligent Input Bus SCIM_DESC= Smart Common Input Method XCF_DESC= Gimp image format support OPENGLES_DESC= 2D/3D rendering support via OpenGL ES AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app AVAHI_CONFIGURE_ENABLE= avahi FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi FRIBIDI_CONFIGURE_ENABLE= fribidi HARFBUZZ_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz HARFBUZZ_CONFIGURE_ENABLE= harfbuzz NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls PHYSICS_LIB_DEPENDS= libBulletDynamics.so:devel/bullet PHYSICS_CONFIGURE_ENABLE= physics PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_ENABLE= pulseaudio WAYLAND_BROKEN= ERROR: epoll_create() is deprecated, use epoll_create1(EPOLL_CLOEXEC). WAYLAND_BUILD_DEPENDS= wayland-protocols>=1.7:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \ libxkbcommon.so:x11/libxkbcommon \ libwayland-client.so:graphics/wayland \ libwayland-cursor.so:graphics/wayland WAYLAND_CFLAGS= -I${LOCALBASE}/include/libepoll-shim WAYLAND_LDFLAGS= -lepoll-shim WAYLAND_CONFIGURE_ENABLE= wayland WAYLAND_EGL_LIB_DEPENDS= libwayland-egl.so:graphics/wayland WAYLAND_EGL_CONFIGURE_ENABLE= egl WAYLANG_EGL_USE= GL=egl WAYLAND_EGL_IMPLIES= WAYLAND OPENGLES GSTREAMER_USE= GSTREAMER1=core GSTREAMER_CONFIGURE_ENABLE= gstreamer1 LIBXINE_LIB_DEPENDS= libxine.so:multimedia/libxine LIBXINE_CONFIGURE_ENABLE= xine V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat V4L_CONFIGURE_ENABLE= v4l2 VLC_LIB_DEPENDS= libvlc.so:multimedia/vlc VLC_CONFIGURE_WITH= generic_vlc IBUS_LIB_DEPENDS= libibus-1.0.so:textproc/ibus SCIM_LIB_DEPENDS= libscim-1.0.so:textproc/scim SCIM_CONFIGURE_ENABLE= scim OPENJPEG_LIB_DEPENDS= libopenjpeg.so:graphics/openjpeg15 OPENJPEG_CONFIGURE_ENABLE= image-loader-jp2k PDF_LIB_DEPENDS= libpoppler.so:graphics/poppler PDF_CONFIGURE_ENABLE= poppler PS_LIB_DEPENDS= libspectre.so:print/libspectre PS_CONFIGURE_ENABLE= spectre RAW_LIB_DEPENDS= libraw.so:graphics/libraw RAW_CONFIGURE_ENABLE= libraw SVG_USE= GNOME=cairo GNOME=librsvg2 SVG_CONFIGURE_ENABLE= librsvg WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CONFIGURE_ENABLE= image-loader-webp XCF_CONFIGURE_ENABLE= xcf OPENGL_USE= GL=gl OPENGLES_USE= GL=glesv2 OPENGLES_CONFIGURE_ON= --with-opengl=es --enable-egl SDL_USE= SDL=sdl2 SDL_CONFIGURE_ENABLE= sdl .include .if ${PORT_OPTIONS:MPULSEAUDIO} PLIST_SUB+= AUDIO="" .else CONFIGURE_ARGS+= --disable-pulseaudio PLIST_SUB+= AUDIO="@comment " .endif .if ${PORT_OPTIONS:MSSL} USES+= ssl .else CONFIGURE_ARGS+= --with-crypto=none .endif .if ${PORT_OPTIONS:MIBUS} CONFIGURE_ARGS+= --with-glib=yes .else CONFIGURE_ARGS+= --disable-ibus --with-glib=no .endif .if empty(PORT_OPTIONS:MOPENGL) && empty(PORT_OPTIONS:MOPENGLES) CONFIGURE_ARGS+= --with-opengl=none +.endif + +# keep in sync with all platforms where libunwind is available +.if (${ARCH} == amd64 || ${ARCH} == i386) +LIB_DEPENDS+= libunwind.so:devel/libunwind .endif .if ${ARCH} == "powerpc" || ${ARCH} == "sparc64" USES+= lua CONFIGURE_ARGS+= --enable-lua-old PLIST_SUB+= ELUA="@comment " .else LIB_DEPENDS+= libluajit-5.1.so:lang/luajit PLIST_SUB+= ELUA="" .endif post-install: @${RM} -r ${STAGEDIR}${PREFIX}/share/gdb @for i in `${FIND} ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${PREFIX}/lib -type f`; do \ if ${FILE} $$i | ${GREP} -q "not stripped"; then ${STRIP_CMD} $$i; fi; \ done # workaround for https://phab.enlightenment.org/T6783 : it leaves an empty directory @if [ -d ${STAGEDIR}${PREFIX}/lib/evas/utils -a -z "$$(ls -A ${STAGEDIR}${PREFIX}/lib/evas/utils)" ]; then \ ${RMDIR} ${STAGEDIR}${PREFIX}/lib/evas/utils; \ fi .include Index: head/devel/google-perftools/Makefile =================================================================== --- head/devel/google-perftools/Makefile (revision 491079) +++ head/devel/google-perftools/Makefile (revision 491080) @@ -1,78 +1,81 @@ # Created by: Yuri Victorovich # $FreeBSD$ PORTNAME= google-perftools DISTVERSIONPREFIX= gperftools- DISTVERSION= 2.7 CATEGORIES= devel MASTER_SITES= https://github.com/gperftools/gperftools/releases/download/gperftools-${PORTVERSION}/ DISTNAME= gperftools-${PORTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Fast, multi-threaded malloc() and nifty performance analysis tools LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_powerpc= fails to build: assembly not supported, see PR\#94: http://code.google.com/p/google-perftools/issues/detail?id=94&can=1 BROKEN_powerpc64= fails to build: assembly not supported, see PR\#94: http://code.google.com/p/google-perftools/issues/detail?id=94&can=1 BROKEN_sparc64= fails to build: assembly not supported, see PR\#94: http://code.google.com/p/google-perftools/issues/detail?id=94&can=1 -LIB_DEPENDS= libunwind.so:devel/libunwind - DOCSDIR= ${PREFIX}/share/doc/gperftools USES= compiler gmake libtool GNU_CONFIGURE= yes USE_LDCONFIG= yes TEST_TARGET= check LIBS+= -lexecinfo PLIST_SUB= SHL3=4.5.3 SHL1=4 OPTIONS_DEFINE= DOCS OPTIONS_SINGLE= PAGESIZE ALIGN OPTIONS_SINGLE_ALIGN= ALIGN8 ALIGN16 OPTIONS_SINGLE_PAGESIZE= PAGE8K PAGE32K PAGE64K OPTIONS_DEFAULT= PAGE8K ALIGN16 ALIGN_DESC= The tcmalloc allocation alignment ALIGN8_DESC= 8 bytes allocation alignment ALIGN16_DESC= 16 bytes allocation alignment PAGESIZE_DESC= The tcmalloc internal page size PAGE8K_DESC= 8K page size PAGE32K_DESC= 32K page size PAGE64K_DESC= 64K page size ALIGN8_CONFIGURE_ON= --with-tcmalloc-alignment=8 ALIGN16_CONFIGURE_ON= --with-tcmalloc-alignment=16 PAGE8K_CONFIGURE_ON= --with-tcmalloc-pagesize=8 PAGE32K_CONFIGURE_ON= --with-tcmalloc-pagesize=32 PAGE64K_CONFIGURE_ON= --with-tcmalloc-pagesize=64 PORTDOCS= * .include .if ${COMPILER_TYPE} == "clang" && !defined(USE_GCC) # clang cannot disable builtins individually CXXFLAGS+= -fno-builtin .endif .if ${ARCH} == "amd64" CONFIGURE_ARGS+=--enable-frame-pointers +.endif + +# keep in sync with all platforms where libunwind is available +.if (${ARCH} == amd64 || ${ARCH} == i386) +LIB_DEPENDS+= libunwind.so:devel/libunwind .endif post-build: @${ECHO} @${ECHO} "Please run 'make check' (requires bash)." @${ECHO} "Two testcases are known to fail. Testsuite is known to be" @${ECHO} "unreliable and give false positives and negatives (PR#661)." @${ECHO} post-install: ${MV} ${STAGEDIR}${PREFIX}/bin/pprof ${STAGEDIR}${PREFIX}/bin/perftools-pprof @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so.* .include Index: head/graphics/blender/Makefile =================================================================== --- head/graphics/blender/Makefile (revision 491079) +++ head/graphics/blender/Makefile (revision 491080) @@ -1,162 +1,170 @@ # Created by: Jimmy Olgeni # $FreeBSD$ PORTNAME= blender PORTVERSION= 2.79b PORTREVISION= 10 CATEGORIES= graphics games MASTER_SITES= http://download.blender.org/source/ \ http://mirror.cs.umn.edu/blender.org/source/ \ http://public.planetmirror.com/pub/blender/source/ MAINTAINER= FreeBSD@Shaneware.biz COMMENT= 3D modeling/rendering/animation/gaming package LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/doc/license/GPL3-license.txt LIB_DEPENDS= libpng.so:graphics/png \ libfreetype.so:print/freetype2 \ libboost_regex.so:devel/boost-libs RUN_DEPENDS= ${PYNUMPY} # libboost_regex.so just acts as a placeholder; several boost # libraries are used, if either of the most common options in blender # are set. We will pull boost in just to be on the safe side. # USES=compiler is needed to support gcc built archs USES= cmake compiler:c++14-lang desktop-file-utils \ jpeg python:3.5 shebangfix USE_XORG= x11 xext xfixes xmu xrender USE_GL= gl glu glew INSTALLS_ICONS= yes # always enable c++11, this needs to be enabled for several options CMAKE_ON= WITH_CXX11 CMAKE_OFF= WITH_PYTHON_INSTALL WITH_PYTHON_INSTALL_NUMPY \ WITH_INSTALL_PORTABLE WITH_CYCLES_LOGGING SHEBANG_FILES= release/bin/blender-thumbnailer.py \ release/scripts/modules/bl_i18n_utils/merge_po.py \ release/scripts/modules/bl_i18n_utils/utils_rtl.py \ release/scripts/modules/blend_render_info.py CFLAGS_i386= -march=i586 CXXFLAGS_i386= -march=i586 PLIST_SUB+= VER=2.79 OPTIONS_SUB= yes .include "${.CURDIR}/Makefile.options" +# libunwind is specific to amd64/i386 +OPTIONS_EXCLUDE_aarch64= CAMERATRACK +OPTIONS_EXCLUDE_armv6= CAMERATRACK +OPTIONS_EXCLUDE_armv7= CAMERATRACK +OPTIONS_EXCLUDE_powerpc= CAMERATRACK +OPTIONS_EXCLUDE_powerpc64= CAMERATRACK +OPTIONS_EXCLUDE_powerpcspe= CAMERATRACK + ALEMBIC_CMAKE_BOOL= WITH_ALEMBIC ALEMBIC_LIB_DEPENDS= libAlembic.so:graphics/alembic # note that this needs to be set to match alembics hdf5 option ALEMBIC_HDF5_REQUIRES= ALEMBIC ALEMBIC_HDF5_CMAKE_BOOL= WITH_ALEMBIC_HDF5 ALEMBIC_HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5 AVI_CMAKE_BOOL= WITH_CODEC_AVI BULLET_CMAKE_BOOL= WITH_BULLET CAMERATRACK_CMAKE_BOOL= WITH_LIBMV CAMERATRACK_LIB_DEPENDS= libunwind.so:devel/libunwind CINEON_CMAKE_BOOL= WITH_IMAGE_CINEON COLLADA_CMAKE_BOOL= WITH_OPENCOLLADA COLLADA_LIB_DEPENDS= libOpenCOLLADABaseUtils.so:graphics/opencollada \ libpcre.so:devel/pcre COLLADA_USE= GNOME=libxml2 COMPOSITOR_CMAKE_BOOL= WITH_COMPOSITOR CYCLES_IMPLIES= OPENIMAGEIO CYCLES_CMAKE_BOOL= WITH_CYCLES CYCLESOSL_IMPLIES= CYCLES CYCLESOSL_CMAKE_BOOL= WITH_CYCLES_OSL WITH_LLVM CYCLESOSL_CMAKE_ON= -DLLVM_STATIC:BOOL=OFF \ -DLLVM_CONFIG:STRING="${LOCALBASE}/bin/llvm-config60" CYCLESOSL_BUILD_DEPENDS= llvm-config60:devel/llvm60 CYCLESOSL_LIB_DEPENDS= liboslcomp.so:graphics/openshadinglanguage CYCLESOSL_RUN_DEPENDS= llvm-config60:devel/llvm60 DDS_CMAKE_BOOL= WITH_IMAGE_DDS FFMPEG_CMAKE_BOOL= WITH_CODEC_FFMPEG FFMPEG_LIB_DEPENDS= libavutil.so:multimedia/ffmpeg FFTW3_CMAKE_BOOL= WITH_FFTW3 FFTW3_LIB_DEPENDS= libfftw3.so:math/fftw3 FRAMESERVER_CMAKE_BOOL= WITH_IMAGE_FRAMESERVER FREESTYLE_CMAKE_BOOL= WITH_FREESTYLE GAMEENGINE_CMAKE_BOOL= WITH_GAMEENGINE HDR_CMAKE_BOOL= WITH_IMAGE_HDR HEADLESS_PREVENTS= MENU XINPUT XF86VMODE HEADLESS_PREVENTS_MSG= X11 options can't be used in headless mode HEADLESS_CMAKE_BOOL= WITH_HEADLESS INPUT_NDOF_CMAKE_BOOL= WITH_INPUT_NDOF JACK_CMAKE_BOOL= WITH_JACK JACK_LIB_DEPENDS= libjack.so:audio/jack LZO_CMAKE_BOOL= WITH_LZO LZMA_CMAKE_BOOL= WITH_LZMA MENU_USES= desktop-file-utils MOD_BOOLEAN_CMAKE_BOOL= WITH_MOD_BOOLEAN MOD_FLUID_CMAKE_BOOL= WITH_MOD_FLUID MOD_OCEANSIM_IMPLIES= FFTW3 MOD_OCEANSIM_CMAKE_BOOL= WITH_MOD_OCEANSIM MOD_REMESH_CMAKE_BOOL= WITH_MOD_REMESH MOD_SMOKE_CMAKE_BOOL= WITH_MOD_SMOKE NLS_CMAKE_BOOL= WITH_INTERNATIONAL # Use iconv:wchar_t to force the usage of iconv from ports. # libboost_locale.so uses libiconv_open, while we only provide # iconv_open in 10.x+ NLS_USES= gettext iconv:lib,wchar_t OPENAL_CMAKE_BOOL= WITH_OPENAL OPENAL_USES= openal:al,alut OPENCOLORIO_CMAKE_BOOL= WITH_OPENCOLORIO OPENCOLORIO_LIB_DEPENDS= libOpenColorIO.so:graphics/opencolorio \ libyaml-cpp03.so:devel/yaml-cpp03 \ libtinyxml.so:textproc/tinyxml OPENEXR_CMAKE_BOOL= WITH_IMAGE_OPENEXR OPENEXR_LIB_DEPENDS= libIlmImf.so:graphics/openexr \ libHalf.so:graphics/ilmbase OPENIMAGEIO_IMPLIES= OPENEXR TIFF OPENIMAGEIO_CMAKE_BOOL= WITH_OPENIMAGEIO OPENIMAGEIO_LIB_DEPENDS= libOpenImageIO.so:graphics/openimageio OPENJPEG_CMAKE_BOOL= WITH_SYSTEM_OPENJPEG WITH_IMAGE_OPENJPEG OPENJPEG_LIB_DEPENDS= libopenjpeg.so:graphics/openjpeg15 # openmp usually works on amd64 #OPENMP_CMAKE_ON= -DWITH_OPENMP:BOOL=ON \ # -DOpenMP_C_FLAGS:STRING=-fopenmp -lm \ # -DOpenMP_CXX_FLAGS:STRING=-fopenmp -lm #OPENMP_CMAKE_OFF= -DWITH_OPENMP:BOOL=OFF #OPENMP_LIB_DEPENDS= libomp.so.0:devel/openmp #OPENMP_LDFLAGS= -L${LOCALBASE}/lib OPENSUBDIV_CMAKE_BOOL= WITH_OPENSUBDIV OPENSUBDIV_LIB_DEPENDS= libosdCPU.so:graphics/opensubdiv PLAYER_IMPLIES= GAMEENGINE PLAYER_CMAKE_BOOL= WITH_PLAYER RAYOPTIMIZATION_CMAKE_BOOL= WITH_RAYOPTIMIZATION SDL_CMAKE_BOOL= WITH_SDL SDL_USE= SDL=sdl2 SNDFILE_CMAKE_BOOL= WITH_CODEC_SNDFILE SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile TIFF_CMAKE_BOOL= WITH_IMAGE_TIFF TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff XINPUT_CMAKE_BOOL= WITH_X11_XINPUT XINPUT_USE= XORG=xi XF86VMODE_CMAKE_BOOL= WITH_X11_XF86VMODE XF86VMODE_USE= XORG=xi,xxf86vm .if defined(WITH_DEBUG) CMAKE_ARGS+= -DWITH_GHOST_DEBUG:BOOL=ON .endif post-patch-OPENCOLORIO-on: @${REINPLACE_CMD} -e 's|yaml-cpp|&03|' \ ${PATCH_WRKSRC}/build_files/cmake/Modules/FindOpenColorIO.cmake post-build: @(cd ${WRKSRC}/doc/manpage && \ ${PYTHON_CMD} blender.1.py \ ${INSTALL_WRKSRC}/bin/blender \ ${INSTALL_WRKSRC}/bin/${PORTNAME}.1) post-install-MENU-on: @-update-desktop-database -q post-install: ${INSTALL_MAN} ${INSTALL_WRKSRC}/bin/${PORTNAME}.1 \ ${STAGEDIR}${MAN1PREFIX}/man/man1 .include Index: head/lang/ponyc/Makefile =================================================================== --- head/lang/ponyc/Makefile (revision 491079) +++ head/lang/ponyc/Makefile (revision 491080) @@ -1,79 +1,83 @@ # $FreeBSD$ PORTNAME= ponyc DISTVERSION= 0.25.0 PORTREVISION= 1 CATEGORIES= lang MAINTAINER= greg@unrelenting.technology COMMENT= Pony language compiler LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= aarch64 amd64 ONLY_FOR_ARCHS_REASON= Undefined reference to __atomic_compare_exchange_8 -LIB_DEPENDS= libunwind.so:devel/libunwind BUILD_DEPENDS= llvm-link${LLVM_VERSION}:devel/llvm${LLVM_VERSION} RUN_DEPENDS= llvm-link${LLVM_VERSION}:devel/llvm${LLVM_VERSION} USES= gmake ncurses compiler:c++11-lang LLVM_VERSION= 50 # LLVM 6 has assertion failures when e.g. optimizing the mandelbrot example PLIST_SUB= VERSION="${DISTVERSION}" PONYARCH="${PONYARCH}" OPTIONS_SUB= yes USE_GITHUB= yes GH_ACCOUNT= ponylang PORTDOCS= *.md MAKE_ENV= config=release verbose=true default_pic=true \ prefix=${PREFIX} arch=${PONYARCH} \ LLVM_CONFIG=llvm-config${LLVM_VERSION} OPTIONS_DEFINE= DOCS EXAMPLES DTRACE OPTIONS_EXCLUDE_aarch64= DTRACE # Not enabling DTrace by default yet because it breaks --runtimebc ("super LTO"): # https://github.com/ponylang/ponyc/issues/2915 DTRACE_MAKE_ENV= use=dtrace .include # Pony defaults to 'native', which # a) doesn't work on aarch64 # b) is not appropriate for official OS packages .if "${ARCH}" == aarch64 PONYARCH?= armv8-a .elif "${ARCH}" == amd64 # Can't use 'x86-64' because atomics are required PONYARCH?= core2 +.endif + +# keep in sync with all platforms where libunwind is available +.if (${ARCH} == amd64 || ${ARCH} == i386) +LIB_DEPENDS+= libunwind.so:devel/libunwind .endif .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200085 MAKE_ENV+= default_ssl=openssl_1.1.0 .endif .if ${CHOSEN_COMPILER_TYPE} == clang MAKE_ENV+= runtime-bitcode=yes PLIST_SUB+= BITCODE="" .else PLIST_SUB+= BITCODE="@comment " .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pony/${DISTVERSION}/bin/ponyc post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/*.md ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include Index: head/net/tigervnc/Makefile =================================================================== --- head/net/tigervnc/Makefile (revision 491079) +++ head/net/tigervnc/Makefile (revision 491080) @@ -1,141 +1,145 @@ # $FreeBSD$ PORTNAME= tigervnc PORTVERSION= 1.9.0 DISTVERSIONPREFIX= v PORTREVISION= 2 CATEGORIES= net x11-servers MAINTAINER= meta@FreeBSD.org COMMENT= High-performance, platform-neutral implementation of VNC LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENCE.TXT PATCH_DEPENDS= ${NONEXISTENT}:x11-servers/xorg-server:patch BUILD_DEPENDS= ${LOCALBASE}/include/GL/internal/dri_interface.h:graphics/mesa-dri \ ${LOCALBASE}/libdata/pkgconfig/fontutil.pc:x11-fonts/font-util \ ${LOCALBASE}/include/FL/Fl.H:x11-toolkits/fltk \ bash:shells/bash -LIB_DEPENDS= libunwind.so:devel/libunwind \ - libxshmfence.so:x11/libxshmfence \ +LIB_DEPENDS= libxshmfence.so:x11/libxshmfence \ libfontconfig.so:x11-fonts/fontconfig # almost equivalent to x11-servers/xorg-server's RUN_DEPENDS= ${LOCALBASE}/share/X11/xkb/rules/base:x11/xkeyboard-config \ xkbcomp:x11/xkbcomp USES= autoreconf:build cmake:insource,noninja cpe gl iconv jpeg libtool \ pkgconfig python ssl USE_GL= gl USE_LDCONFIG= yes USE_GITHUB= yes CONFLICTS= tightvnc-[0-9]* GH_ACCOUNT= TigerVNC USE_XORG+= ice pixman sm x11 xau xdamage xdmcp xext xfixes xfont xkbfile \ xorg-macros xorgproto xrandr xrender xtrans xtst CFLAGS+= -fPIC OPTIONS_DEFINE= GNUTLS NLS PAM VIEWER DOCS OPTIONS_DEFAULT= GNUTLS PAM VIEWER VIEWER_DESC= Build vncviewer .include CMAKE_ARGS= -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=${STAGE}${PREFIX} .if ${PORT_OPTIONS:MGNUTLS} LIB_DEPENDS+= libtasn1.so:security/libtasn1 \ libgcrypt.so:security/libgcrypt \ libgpg-error.so:security/libgpg-error \ libgnutls.so:security/gnutls CONFIGURE_ARGS+= --enable-glx-tls CMAKE_ARGS+= -DENABLE_GNUTLS=1 .else CMAKE_ARGS+= -DENABLE_GNUTLS=0 .endif .if ${PORT_OPTIONS:MNLS} USES+= gettext CMAKE_ARGS+= -DENABLE_NLS=1 PLIST_SUB+= NLS="" .else CMAKE_ARGS+= -DENABLE_NLS=0 PLIST_SUB+= NLS="@comment " .endif .if ${PORT_OPTIONS:MPAM} CMAKE_ARGS+= -DENABLE_PAM=1 .else CMAKE_ARGS+= -DENABLE_PAM=0 .endif .if ${PORT_OPTIONS:MVIEWER} CMAKE_ARGS+= -DBUILD_VIEWER=1 LIB_DEPENDS+= libpng.so:graphics/png \ libfltk.so:x11-toolkits/fltk # ImageMagick is required to generate icons during build process BUILD_DEPENDS+= ${LOCALBASE}/bin/convert:graphics/ImageMagick6 USE_XORG+= xcursor xfixes xft xinerama PLIST_SUB+= VIEWER="" INSTALLS_ICONS= yes DESKTOP_ENTRIES= "TigerVNC viewer" "Connect to VNC server and display remote desktop" \ "${PORTNAME}" "vncviewer" "Network;" false .else CMAKE_ARGS+= -DBUILD_VIEWER=0 PLIST_SUB+= VIEWER="@comment " .endif MAKE_ARGS+= TIGERVNC_SRCDIR=${WRKSRC} CONFIGURE_ARGS+= \ --prefix=${PREFIX} --mandir=${PREFIX}/man/ \ --docdir=${PREFIX}/share/doc/${PORTNAME}/ --with-pic --without-dtrace \ --disable-static --disable-dri --disable-unit-tests \ --disable-xinerama --disable-xvfb --disable-xnest --disable-xorg \ --disable-dmx --disable-xwin --disable-xephyr --disable-kdrive \ --disable-config-dbus --disable-config-hal \ --disable-dri2 --enable-install-libxf86config --enable-glx \ --with-default-font-path="catalogue:${LOCALBASE}/share/fonts,built-ins" \ --with-xkb-path=${LOCALBASE}/share/X11/xkb \ --with-xkb-bin-directory=${LOCALBASE}/bin \ --with-serverconfig-path=${LOCALBASE}/lib/X11 \ --disable-selective-werror \ --disable-xwayland \ --with-fontrootdir=${LOCALBASE}/share/fonts .include + +# keep in sync with all platforms where libunwind is available +.if (${ARCH} == amd64 || ${ARCH} == i386) +LIB_DEPENDS+= libunwind.so:devel/libunwind +.endif TIGERVNC_XORG_PATCH_VER= ${MAKE} -C "${PORTSDIR}/x11-servers/xorg-server" -V PORTVERSION:R:S,\.,,g # import from x11-server/xorg-server/Makefile .if ${SSL_DEFAULT} == base # The reason why I use this is cause openssl from base doesn't # install a .pc file and configure will fail trying to find it. # Setting both of those variables to a *non-empty* value by-passes # the pkg-config check. CONFIGURE_ENV= SHA1_LIB="-L/usr/lib -lcrypto" SHA1_CFLAGS="-I/usr/include" .endif XORG_WRKDIR= ${MAKE} -C ${PORTSDIR}/x11-servers/xorg-server -VWRKSRC pre-patch: @${CP} -R `${XORG_WRKDIR}`/ ${WRKSRC}/unix/xserver/ post-patch: @cd ${WRKSRC}/unix/xserver/ && ${PATCH} -p1 < ${WRKSRC}/unix/xserver`${TIGERVNC_XORG_PATCH_VER}`.patch post-configure: @cd ${WRKSRC}/unix/xserver/ && ${SETENV} ${CONFIGURE_ENV} ${MAKE_ENV} ${AUTORECONF} -fiv @cd ${WRKSRC}/unix/xserver/ && ${SETENV} ${CONFIGURE_ENV} ${MAKE_ENV} ./configure ${CONFIGURE_ARGS} post-build: @cd ${WRKSRC}/unix/xserver/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} SHELL=${LOCALBASE}/bin/bash post-install: @cd ${WRKSRC}/unix/xserver/hw/vnc/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/Xvnc ${STAGEDIR}${PREFIX}/lib/xorg/modules/extensions/libvnc.so .include Index: head/net-p2p/monero-cli/Makefile =================================================================== --- head/net-p2p/monero-cli/Makefile (revision 491079) +++ head/net-p2p/monero-cli/Makefile (revision 491080) @@ -1,102 +1,106 @@ # Created by: Vasil Dimov # $FreeBSD$ PORTNAME= monero-cli # To build from an arbitrary git commit comment PORTVERSION and PORTREVISION (if present) PORTVERSION= 0.13.0.4 DISTVERSIONPREFIX= v PORTREVISION= 2 # and uncomment the following two lines #PORTVERSION= 0 #PKGNAMESUFFIX= -git-HEAD CATEGORIES= net-p2p finance MAINTAINER= vd@FreeBSD.org COMMENT= Private, secure, untraceable, decentralised digital currency (CLI) LICENSE= BSD3CLAUSE BROKEN_aarch64= fails to compile: the clang compiler does not support -march=native BROKEN_armv6= fails to compile: the clang compiler does not support -march=native BROKEN_armv7= fails to compile: the clang compiler does not support -march=native BROKEN_powerpc64= fails to compile: the clang compiler does not support -march=native LIB_DEPENDS= \ libboost_chrono.so:devel/boost-libs \ libboost_date_time.so:devel/boost-libs \ libboost_filesystem.so:devel/boost-libs \ libboost_program_options.so:devel/boost-libs \ libboost_regex.so:devel/boost-libs \ libboost_serialization.so:devel/boost-libs \ libboost_system.so:devel/boost-libs \ libboost_thread.so:devel/boost-libs \ libminiupnpc.so:net/miniupnpc \ libnorm.so:net/norm \ libpgm.so:net/openpgm \ libsodium.so:security/libsodium \ libunbound.so:dns/unbound \ - libunwind.so:devel/libunwind \ libzmq.so:net/libzmq4 BUILD_DEPENDS= ${LOCALBASE}/include/rapidjson/document.h:devel/rapidjson \ ${LOCALBASE}/include/zmq.hpp:net/cppzmq USES= cmake compiler:c++11-lib pkgconfig readline ssl USE_GITHUB= yes GH_ACCOUNT= monero-project GH_PROJECT= monero .if defined(PKGNAMESUFFIX) GH_TAGNAME= ${PKGNAMESUFFIX:C/-git-//} .endif CFLAGS+= -D_WANT_SEMUN OPTIONS_DEFINE= DOXYGEN DOXYGEN_BUILD_DEPENDS= dot:graphics/graphviz \ doxygen:devel/doxygen DOXYGEN_CMAKE_BOOL= BUILD_DOCUMENTATION .include # On FreeBSD 12.x the default ld(1) is LLVM's ld which needs an explicit -m option # when linking without any input .o on the command line, like: # /usr/bin/ld -melf_amd64 -r -b binary -o blocksdat.o blocks.dat # See Bug 226996 - net-p2p/monero-cli: fails to link with lld as the system linker # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226996 .if ${OSVERSION} >= 1200000 .if ${ARCH} == aarch64 LD_EMULATION= aarch64elf .elif ${ARCH} == amd64 LD_EMULATION= elf_amd64 .elif ${ARCH} == i386 LD_EMULATION= elf_i386_fbsd .elif ${ARCH} == powerpc LD_EMULATION= elf32ppc .elif ${ARCH} == powerpc64 LD_EMULATION= elf64ppc .endif CMAKE_ARGS+= -DLD_RAW_FLAGS:STRING=-m${LD_EMULATION} +.endif + +# keep in sync with all platforms where libunwind is available +.if (${ARCH} == amd64 || ${ARCH} == i386) +LIB_DEPENDS+= libunwind.so:devel/libunwind .endif CMAKE_ARGS+= -DMANUAL_SUBMODULES:BOOL=ON USE_RC_SUBR= monerod USERS= monero GROUPS= monero PLIST_FILES= \ bin/monero-blockchain-ancestry \ bin/monero-blockchain-depth \ bin/monero-blockchain-export \ bin/monero-blockchain-import \ bin/monero-blockchain-mark-spent-outputs \ bin/monero-blockchain-usage \ bin/monero-gen-trusted-multisig \ bin/monero-wallet-cli \ bin/monero-wallet-rpc \ bin/monerod .include Index: head/science/rubygem-ruby-dcl/Makefile =================================================================== --- head/science/rubygem-ruby-dcl/Makefile (revision 491079) +++ head/science/rubygem-ruby-dcl/Makefile (revision 491080) @@ -1,29 +1,27 @@ # Created by: Shin-ya MURAKAMI # $FreeBSD$ PORTNAME= ruby-dcl PORTVERSION= 1.8.1 CATEGORIES= science rubygems MASTER_SITES= RG MAINTAINER= murashin@gfd-dennou.org COMMENT= Ruby interface to the scientific graphic library DCL LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= rubygem-narray>=0.5.5:math/rubygem-narray LIB_DEPENDS= libcdcl.so:science/cdcl \ libfontconfig.so:x11-fonts/fontconfig \ - libfreetype.so:print/freetype2 \ - libunwind.so:devel/libunwind + libfreetype.so:print/freetype2 RUN_DEPENDS= rubygem-narray>=0.5.5:math/rubygem-narray \ rubygem-narray_miss>0:math/rubygem-narray_miss +USES= gem gettext-runtime USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 pango USE_XORG= ice sm x11 - USE_RUBY= yes -USES= gem gettext-runtime .include Index: head/www/rubygem-passenger/Makefile =================================================================== --- head/www/rubygem-passenger/Makefile (revision 491079) +++ head/www/rubygem-passenger/Makefile (revision 491080) @@ -1,111 +1,110 @@ # Created by: Jacob Atzen # $FreeBSD$ PORTNAME= passenger PORTVERSION= 6.0.1 CATEGORIES= www rubygems MASTER_SITES= RG PKGNAMEPREFIX= rubygem- MAINTAINER= osa@FreeBSD.org COMMENT= Modules for running Ruby on Rails and Rack applications LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= rake:devel/rubygem-rake CPE_VENDOR= phusion CPE_PRODUCT= passenger FLAVORS= apache nginx FLAVOR?= ${FLAVORS:[1]} apache_PKGNAMESUFFIX= -apache nginx_PKGNAMESUFFIX= -nginx apache_CONFLICTS_INSTALL= ${PKGNAMEPREFIX}${PORTNAME}-nginx nginx_CONFLICTS_INSTALL= ${PKGNAMEPREFIX}${PORTNAME}-apache OPTIONS_DEFINE= DEBUG SYMLINK OPTIONS_EXCLUDE=DOCS SYMLINK_DESC= Create passenger symlink .if ${FLAVOR} == apache USES+= apache:2.2+ .endif USE_RUBY= yes RAKE_BIN= ${LOCALBASE}/bin/rake USES+= cpe gem libtool python:env shebangfix ssl SHEBANG_FILES= src/cxx_supportlib/vendor-copy/libuv/gyp_uv.py LIB_DEPENDS+= libuv.so:devel/libuv \ libcurl.so:ftp/curl \ - libunwind.so:devel/libunwind \ libapr-1.so:devel/apr1 BUILD_DEPENDS+= rubygem-rack>=0:www/rubygem-rack RUN_DEPENDS:= ${BUILD_DEPENDS} SUB_LIST+= GEM_LIB_DIR=${GEM_LIB_DIR} RUBY=${RUBY} SUB_FILES= pkg-message-${FLAVOR} PLIST_FILES= bin/passenger \ bin/passenger-config \ bin/passenger-install-apache2-module \ bin/passenger-memory-stats \ bin/passenger-status \ bin/passenger-install-nginx-module SYMLINK_PLIST_FILES= ${GEMS_DIR}/${PORTNAME} SYMLINK_SUB_LIST= PASSENGER_INSTALL_DIR="${PREFIX}/${GEMS_DIR}/${PORTNAME}" SYMLINK_SUB_LIST_OFF= PASSENGER_INSTALL_DIR="${PREFIX}/${GEM_LIB_DIR}" pre-patch: @${REINPLACE_CMD} \ 's!-Wall!!g; \ s!gcc!${CC}!g; \ s!g++!${CXX}!g; \ s!#{PlatformInfo.debugging_cflags}!${CFLAGS}!g; \ s!-O2!!g; \ s! -feliminate-unused-debug-symbols -feliminate-unused-debug-types!!g; \ 170s!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} \ 's!-DPASSENGER_DEBUG!-DNDEBUG!g' \ ${WRKSRC}/build/basics.rb post-build: .if ${FLAVOR} == apache (CC=${CC} CXX=${CXX} ${WRKSRC}/bin/passenger-install-apache2-module --auto) .endif .if ${FLAVOR} == nginx (cd ${WRKSRC} && CC=${CC} CXX=${CXX} ${RAKE_BIN} nginx) .endif ${FIND} ${WRKSRC} -name '*.o' -delete ${FIND} ${WRKSRC} -name '*.bak' -delete 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 ${FIND} ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR} -type d -empty -delete .if ${FLAVOR} == apache ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/buildout/apache2/mod_passenger.so ${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR} ${INSTALL} -lrs ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/buildout/apache2/mod_passenger.so ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_passenger.so @${ECHO} "${APACHEMODDIR}/mod_passenger.so" >> ${TMPPLIST} .endif post-install-SYMLINK-on: ${LN} -s ${GEM_NAME} ${STAGEDIR}${PREFIX}/${GEMS_DIR}/${PORTNAME} .include Index: head/x11-toolkits/rubygem-tk/Makefile =================================================================== --- head/x11-toolkits/rubygem-tk/Makefile (revision 491079) +++ head/x11-toolkits/rubygem-tk/Makefile (revision 491080) @@ -1,23 +1,21 @@ # $FreeBSD$ PORTNAME= tk PORTVERSION= 0.2.0 CATEGORIES= x11-toolkits rubygems MASTER_SITES= RG MAINTAINER= nmingotti@gmail.com COMMENT= Ruby interface to TclTk-8.6 LICENSE= BSD2CLAUSE -LIB_DEPENDS= libunwind.so:devel/libunwind - CONFIGURE_ARGS=--with-tcltkversion=8.6,8.6 \ --with-tk-include=${LOCALBASE}/include/tk8.6 \ --with-tcl-include=${LOCALBASE}/include/tcl8.6 USES= gem tk:86 USE_RUBY= yes USE_XORG= x11 .include