Index: head/audio/zinf/Makefile =================================================================== --- head/audio/zinf/Makefile (revision 480746) +++ head/audio/zinf/Makefile (revision 480747) @@ -1,55 +1,56 @@ # Created by: Roman Shterenzon # $FreeBSD$ PORTNAME= zinf PORTVERSION= 2.2.5 PORTREVISION= 22 CATEGORIES= audio ipv6 MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= GTK-based MP3 player LIB_DEPENDS= libid3.so:audio/id3lib \ libgdbm.so:databases/gdbm USES= alias gettext gmake libtool ncurses pathfix perl5 pkgconfig USE_CXXSTD= gnu++98 USE_GNOME= gtk20 GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-ipv6 \ --disable-arts CPPFLAGS+= -I${LOCALBASE}/include CPPFLAGS+= -D_WANT_SEMUN LDFLAGS+= -lpthread -L${LOCALBASE}/lib +LDFLAGS_i386= -Wl,-znotext OPTIONS_DEFINE= ESOUND VORBIS OPTIONS_DEFAULT=VORBIS OPTIONS_SUB= yes ESOUND_CONFIGURE_OFF= --disable-esd ESOUND_USE= GNOME=esound INSTALL_TARGET= install-strip VORBIS_CONFIGURE_OFF= --disable-vorbis VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis .include .if ${ARCH} == "i386" BUILD_DEPENDS+= nasm:devel/nasm CPPFLAGS+= "-D_M_IX86" .else CONFIGURE_ARGS+= --disable-x86opts .endif post-patch: @${REINPLACE_CMD} -e 's|Player::||' ${WRKSRC}/base/include/player.h post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/sdr/plugins ${INSTALL_DATA} ${FILESDIR}/sdr2.plugin.S100.audio.rtp.mpa.zinf \ ${STAGEDIR}${PREFIX}/etc/sdr/plugins .include Index: head/emulators/mupen64plus-core/Makefile =================================================================== --- head/emulators/mupen64plus-core/Makefile (revision 480746) +++ head/emulators/mupen64plus-core/Makefile (revision 480747) @@ -1,30 +1,31 @@ # Created by: Jose Alonso Cardenas Marquez # $FreeBSD$ PORTNAME= mupen64plus PORTVERSION?= 2.5 PORTREVISION?= 1 CATEGORIES= emulators MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}${PKGNAMESUFFIX}/releases/download/${PORTVERSION}/ \ LOCAL/acm/${PORTNAME} \ LOCAL/acm/${PORTNAME}/:plugin PKGNAMESUFFIX?= -core DIST_SUBDIR= ${PORTNAME} MAINTAINER?= acm@FreeBSD.org COMMENT?= Fork of Mupen64 Nintendo 64 emulator USES+= gmake pkgconfig USE_GL?= yes USE_SDL?= sdl2 USE_LDCONFIG?= yes ONLY_FOR_ARCHS= i386 amd64 +LDFLAGS_i386= -Wl,-znotext OPTFLAGS= # MAKE_ENV+= OPTFLAGS="${OPTFLAGS}" OPTIONS_DEFINE= DOCS .include "${.CURDIR}/../mupen64plus-core/Makefile.common" .include Index: head/games/q2pro/Makefile =================================================================== --- head/games/q2pro/Makefile (revision 480746) +++ head/games/q2pro/Makefile (revision 480747) @@ -1,135 +1,136 @@ # Created by: Alejandro Pulver # $FreeBSD$ PORTNAME= q2pro PORTVERSION= ${SVN_REV} PORTREVISION= 12 CATEGORIES= games MASTER_SITES= LOCAL/alepulver MAINTAINER= danfe@FreeBSD.org COMMENT= Quake II engine modification compatible with R1Q2 LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/gnu.txt USES= dos2unix gmake tar:bzip2 WRKSRC= ${WRKDIR}/${PORTNAME} ALL_TARGET= # SVN_REV= 142 MAKE_ENV= LIBDIR="${LIBDIR}" PLIST_SUB= LIBDIR="${LIBDIR:S|${PREFIX}/||}" LIBDIR= ${PREFIX}/lib/${PORTNAME} +LDFLAGS_i386= -Wl,-znotext OPTIONS_DEFINE= CLIENT DEDICATED GAME GL SOFT UI OPTIONS_DEFINE_i386= ASM OPTIONS_DEFAULT= CLIENT DEDICATED GL SOFT UI OPTIONS_DEFAULT_i386= ASM CLIENT_DESC= Build client DEDICATED_DESC= Build dedicated server GAME_DESC= Build main game (default mod) GL_DESC= Build OpenGL renderer SOFT_DESC= Build software renderer UI_DESC= Build user interface (for client menus) .include .if ${PORT_OPTIONS:MCLIENT} USE_SDL+= sdl ALL_TARGET+= client PLIST_SUB+= CLIENT="" .else PLIST_SUB+= CLIENT="@comment " .endif .if ${PORT_OPTIONS:MDEDICATED} ALL_TARGET+= server PLIST_SUB+= DEDICATED="" .else PLIST_SUB+= DEDICATED="@comment " .endif .if ${PORT_OPTIONS:MGAME} ALL_TARGET+= game PLIST_SUB+= GAME="" .else PLIST_SUB+= GAME="@comment " .endif .if ${PORT_OPTIONS:MGL} LIB_DEPENDS+= libpng.so:graphics/png USES+= jpeg USE_GL= gl ALL_TARGET+= ref_newgl PLIST_SUB+= GL="" .else PLIST_SUB+= GL="@comment " .endif .if ${PORT_OPTIONS:MSOFT} ALL_TARGET+= ref_soft PLIST_SUB+= SOFT="" .else PLIST_SUB+= SOFT="@comment " .endif .if ${PORT_OPTIONS:MUI} ALL_TARGET+= ui PLIST_SUB+= UI="" .else PLIST_SUB+= UI="@comment " .endif .if ${PORT_OPTIONS:MASM} MAKE_ENV+= USE_X86_ASM=yes .endif post-patch: @${REINPLACE_CMD} -e 's|jpeg_mem_src|local_jpeg_mem_src|' \ -e '/png_set_gray_1_2_4_to_8/s|png_set|&_expand|' \ ${WRKSRC}/ref_shared/r_images.c @${REINPLACE_CMD} -E 's|[[:digit:]]+|${SVN_REV}|' \ ${WRKSRC}/include/version.h do-install: @${MKDIR} ${STAGEDIR}${LIBDIR}/baseq2 .if ${PORT_OPTIONS:MCLIENT} ${INSTALL_PROGRAM} ${WRKSRC}/build/release/q2pro \ ${STAGEDIR}${PREFIX}/bin .endif .if ${PORT_OPTIONS:MDEDICATED} ${INSTALL_PROGRAM} ${WRKSRC}/build/release/q2proded \ ${STAGEDIR}${PREFIX}/bin .endif .if ${PORT_OPTIONS:MGAME} ${INSTALL_PROGRAM} ${WRKSRC}/build/release/game.so \ ${STAGEDIR}${LIBDIR}/baseq2 .endif .if ${PORT_OPTIONS:MGL} ${INSTALL_PROGRAM} ${WRKSRC}/build/release/ref_newgl.so \ ${STAGEDIR}${LIBDIR} .endif .if ${PORT_OPTIONS:MSOFT} ${INSTALL_PROGRAM} ${WRKSRC}/build/release/ref_soft.so \ ${STAGEDIR}${LIBDIR} .endif .if ${PORT_OPTIONS:MUI} ${INSTALL_PROGRAM} ${WRKSRC}/build/release/ui.so \ ${STAGEDIR}${LIBDIR} .endif generate-distfile: @if [ -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \ ${ECHO_CMD} "ERROR: the distfile already exists."; \ ${FALSE}; \ fi svn export -r${SVN_REV} \ https://svn.sourceforge.net/svnroot/q2pro/q2pro q2pro ${TAR} jcf ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} q2pro ${RM} -r q2pro .include "${.CURDIR}/../quake2-data/Makefile.include" .include Index: head/games/quakeforge/Makefile =================================================================== --- head/games/quakeforge/Makefile (revision 480746) +++ head/games/quakeforge/Makefile (revision 480747) @@ -1,124 +1,125 @@ # Created by: Daniel J. O'Connor # $FreeBSD$ PORTNAME= quakeforge PORTVERSION= 0.7.2 PORTREVISION= 6 CATEGORIES= games MASTER_SITES= SF/quake/quake/${PORTVERSION} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Cleaned up copy of the GPL'ed Quake 1 source code LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png USES= bison compiler:c11 gmake libtool localbase python:run shebangfix tar:bzip2 SHEBANG_FILES= tools/qfcc/source/qfpreqcc GNU_CONFIGURE= yes CONFIGURE_ENV= Z_CFLAGS=" " Z_LIBS="-lz" CONFIGURE_ARGS= --disable-alsa \ --disable-debug \ --disable-optimize \ --disable-static \ --enable-xdg \ --with-cpp="${CPP} %d %i %o" \ --with-global-cfg=${PREFIX}/etc/quakeforge.conf \ --with-ipv6 \ --with-sharepath=${Q1DIR} USE_CSTD= gnu89 INSTALL_TARGET= install-strip USE_LDCONFIG= yes +LDFLAGS_i386= -Wl,-znotext SUB_FILES= pkg-message OPTIONS_DEFINE= CLIENTS DOCS FLAC JACK OPTIMIZED_CFLAGS SDL SERVERS \ SKYBOXES VORBIS XMMS XXF86DGA XXF86VM OPTIONS_DEFAULT= CLIENTS SERVERS OPTIONS_SUB= yes CLIENTS_DESC= Clients CLIENTS_BUILD_DEPENDS= icotool:graphics/icoutils CLIENTS_LIB_DEPENDS= libsamplerate.so:audio/libsamplerate \ libcurl.so:ftp/curl CLIENTS_USES= pkgconfig CLIENTS_USE= gl=glu xorg=xext CLIENTS_CONFIGURE_OFF= --with-clients="" CLIENTS_VERS= INSTALLS_ICONS=yes FLAC_LIB_DEPENDS= libFLAC.so:audio/flac FLAC_CONFIGURE_ON= --with-libFLAC=${LOCALBASE} FLAC_CONFIGURE_OFF= --disable-flac FLAC_IMPLIES= CLIENTS JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_OFF= --disable-jack JACK_IMPLIES= CLIENTS OPTIMIZED_CFLAGS_CFLAGS=\ -O3 -funroll-loops -fomit-frame-pointer -fno-common \ -fexpensive-optimizations -fstrict-aliasing -ffast-math SDL_USE= sdl=sdl SDL_CONFIGURE_ON= --with-sdl-prefix=${LOCALBASE} SDL_CONFIGURE_OFF= --disable-sdl SDL_IMPLIES= CLIENTS SERVERS_DESC= Dedicated servers SERVERS_USES= ncurses SERVERS_CONFIGURE_OFF= --with-servers="" SKYBOXES_DESC= Install skyboxes pak SKYBOXES_MASTER_SITES= http://www.quakeforge.net/files/:qf SKYBOXES_DISTFILES= skyboxes.pak:qf VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis VORBIS_CONFIGURE_ON= --with-ogg=${LOCALBASE} --with-vorbis=${LOCALBASE} VORBIS_CONFIGURE_OFF= --disable-vorbis VORBIS_IMPLIES= CLIENTS XMMS_DESC= Sound support via XMMS XMMS_LIB_DEPENDS= libxmms.so:multimedia/xmms XMMS_CONFIGURE_ON= --enable-xmms --with-xmms-prefix=${LOCALBASE} XMMS_IMPLIES= CLIENTS XXF86DGA_DESC= XFree86 DGA Extension support XXF86DGA_USE= xorg=xxf86dga XXF86DGA_CONFIGURE_OFF= --disable-dga XXF86DGA_IMPLIES= CLIENTS XXF86VM_DESC= XFree86 Vidmode Extension support XXF86VM_USE= xorg=xxf86vm XXF86VM_CONFIGURE_OFF= --disable-vidmode XXF86VM_IMPLIES= CLIENTS post-patch: @${REINPLACE_CMD} -e \ 's|^Z_LIBS=""|| ; \ /if test/s|==|=| ; \ /for qf_t in/s|,qwaq,|,|' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e \ '/^pkgdatadir/s|@libdir@|@prefix@/libdata|' \ ${WRKSRC}/pkg-config/Makefile.in post-build-CLIENTS-on: .for i in 16 32 @${MKDIR} ${WRKDIR}/icons/hicolor/${i}x${i}/apps icotool -x -o ${WRKDIR}/icons/hicolor/${i}x${i}/apps/quake.png \ -w ${i} -b 8 ${WRKSRC}/doc/qf.ico .endfor post-install: ${INSTALL_MAN} ${WRKSRC}/doc/man/quakeforge.1 ${STAGEDIR}${MANPREFIX}/man/man1 post-install-CLIENTS-on: @(cd ${WRKDIR} && ${COPYTREE_SHARE} icons \ ${STAGEDIR}${PREFIX}/share) post-install-DOCS-on: @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} "config gib" \ ${STAGEDIR}${DOCSDIR}) post-install-SKYBOXES-on: @${MKDIR} ${STAGEDIR}${Q1DIR}/QF ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/skyboxes.pak \ ${STAGEDIR}${DATADIR}/QF .include "${.CURDIR}/../quake-data/Makefile.include" .include Index: head/lang/clover/Makefile =================================================================== --- head/lang/clover/Makefile (revision 480746) +++ head/lang/clover/Makefile (revision 480747) @@ -1,38 +1,39 @@ # $FreeBSD$ PORTNAME= clover PORTVERSION= ${MESAVERSION} CATEGORIES= lang COMMENT= Mesa "Clover" OpenCL library BUILD_DEPENDS= libclc>=0.3.0:devel/libclc \ opencl>=0:devel/opencl LIB_DEPENDS= libOpenCL.so:devel/ocl-icd RUN_DEPENDS= libclc>=0.3.0:devel/libclc \ opencl>=0:devel/opencl ONLY_FOR_ARCHS= i386 amd64 ONLY_FOR_ARCHS_REASON= Clover needs a GPU supported by the Radeon KMS driver .include .include "${.CURDIR:H:H}/graphics/mesa-dri/Makefile.common" CONFIGURE_ARGS+= --enable-opencl --enable-opencl-icd --disable-dri \ --disable-egl --disable-gbm --disable-gles2 --disable-glx \ --disable-va --disable-vdpau --disable-xvmc \ --with-gallium-drivers=r600,radeonsi # only supported GPUs +LDFLAGS_i386= -Wl,-znotext #MESA_BUILD_WRKSRC= src/util src/compiler src/mesa src/gallium MESA_INSTALL_WRKSRC= src/gallium/targets/opencl src/gallium/targets/pipe-loader .include "${MASTERDIR}/Makefile.targets" pre-configure: @if [ -e ${LOCALBASE}/bin/llvm-config${MESA_LLVM_VER} ] && \ ! [ -e ${LOCALBASE}/bin/clang${MESA_LLVM_VER} ]; then \ ${ECHO_MSG} "Your llvm${MESA_LLVM_VER} is not built with clang support, which is required."; \ ${FALSE}; \ fi .include Index: head/multimedia/gstreamer-ffmpeg/Makefile =================================================================== --- head/multimedia/gstreamer-ffmpeg/Makefile (revision 480746) +++ head/multimedia/gstreamer-ffmpeg/Makefile (revision 480747) @@ -1,88 +1,89 @@ # Created by: Koop Mast # $FreeBSD$ # $MCom: ports/multimedia/gstreamer-ffmpeg/Makefile,v 1.14 2006/07/20 13:40:27 ahze Exp $ PORTNAME= gstreamer PORTVERSION= 0.10.13 PORTREVISION= 5 CATEGORIES= multimedia MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-ffmpeg/:ffmpeg \ http://libav.org/releases/:libav PKGNAMESUFFIX= -ffmpeg DISTFILES= gst-ffmpeg-${PORTVERSION}.tar.bz2:ffmpeg MAINTAINER= multimedia@FreeBSD.org COMMENT= GStreamer plug-in for manipulating MPEG video streams LICENSE= GPLv2 LIB_DEPENDS= liborc-0.4.so:devel/orc PORTSCOUT= limit:0\.10\..* LIBAV_VERSION= 0.7.7 WRKSRC= ${WRKDIR}/gst-ffmpeg-${PORTVERSION} USES= compiler:features gmake libtool pkgconfig USE_LDCONFIG= yes USE_GSTREAMER= yes GNU_CONFIGURE= yes PLIST_SUB= VERSION="${PORTVERSION:R}" +LDFLAGS_i386= -Wl,-znotext OPTIONS_DEFINE= FFMPEG FFMPEG_DESC?= Use system ffmpeg instead of internal libav FFMPEG_LIB_DEPENDS=libavcodec0.so:multimedia/ffmpeg0 FFMPEG_CONFIGURE_WITH=system-ffmpeg FFMPEG_VARS_OFF=NOPRECIOUSMAKEVARS=yes # ARCH FFMPEG_DISTFILES_OFF=libav-${LIBAV_VERSION}.tar.xz:libav FFMPEG_BUILD_DEPENDS_OFF=yasm:devel/yasm FFMPEG_LDFLAGS_OFF=-Wl,-Bsymbolic FFMPEG_CONFIGURE_OFF=--with-ffmpeg-extra-configure="${FFMPEG_CONFIG}" FFMPEG_CONFIG= --cc=${CC} \ --enable-runtime-cpudetect \ --enable-pic # sse hardware vector support .if defined(MACHINE_CPU) && (${MACHINE_CPU:Msse} == "sse" || ${MACHINE_CPU:Mamd64} == "amd64") WITH_BUILTIN_VECTOR= yes .else FFMPEG_CONFIG+= --disable-sse .endif # mmx support .if defined(MACHINE_CPU) && ${MACHINE_CPU:Mmmx} == "" && ${MACHINE_CPU:Mamd64} == "" FFMPEG_CONFIG+= --disable-mmx WITHOUT_BUILTIN_VECTOR= yes .endif # builtin vector, requires mmx and sse .if !defined(WITHOUT_BUILTIN_VECTOR) && defined(WITH_BUILTIN_VECTOR) FFMPEG_CFLAGS_OFF+=-msse .endif .include .if ! ${PORT_OPTIONS:MFFMPEG} .if ${ARCH} == powerpc64 FFMPEG_CONFIG+= --arch=ppc64 .endif .if ${COMPILER_TYPE} == "gcc" CFLAGS+= -fno-force-addr .endif post-extract: @${MV} ${WRKSRC}/gst-libs/ext/libav ${WRKSRC}/gst-libs/ext/libav.old @${MV} ${WRKDIR}/libav-${LIBAV_VERSION} ${WRKSRC}/gst-libs/ext/libav @${CP} ${WRKSRC}/gst-libs/ext/libav.old/config.* \ ${WRKSRC}/gst-libs/ext/libav/ .endif # FFMPEG post-patch: @${REINPLACE_CMD} -Ee '/sleep 15/d; /PKG_CONFIG/\ s/lib(av(format|codec|util)|postproc|swscale)/&0/g' \ ${WRKSRC}/configure .include Index: head/multimedia/libass/Makefile =================================================================== --- head/multimedia/libass/Makefile (revision 480746) +++ head/multimedia/libass/Makefile (revision 480747) @@ -1,40 +1,41 @@ # $FreeBSD$ PORTNAME= libass PORTVERSION= 0.14.0 CATEGORIES= multimedia devel MAINTAINER= multimedia@FreeBSD.org COMMENT= Portable ASS/SSA subtitle renderer LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfreetype.so:print/freetype2 \ libfribidi.so:converters/fribidi \ libfontconfig.so:x11-fonts/fontconfig USE_GITHUB= yes USES= autoreconf iconv libtool pathfix pkgconfig GNU_CONFIGURE= yes USE_LDCONFIG= yes INSTALL_TARGET= install-strip +LDFLAGS_i386= -Wl,-znotext OPTIONS_DEFINE= HARFBUZZ OPTIONS_DEFAULT=HARFBUZZ OPTIONS_EXCLUDE_armv6=HARFBUZZ OPTIONS_EXCLUDE_armv7=HARFBUZZ OPTIONS_DEFINE_amd64= ASM OPTIONS_DEFINE_i386= ASM OPTIONS_DEFAULT_amd64= ASM OPTIONS_DEFAULT_i386= ASM ASM_BUILD_DEPENDS=nasm:devel/nasm ASM_CONFIGURE_ENABLE=asm HARFBUZZ_LIB_DEPENDS=libharfbuzz.so:print/harfbuzz HARFBUZZ_CONFIGURE_ENABLE=harfbuzz HARFBUZZ_DESC?= Font shaping via HarfBuzz .include