Index: head/audio/alsa-lib/Makefile =================================================================== --- head/audio/alsa-lib/Makefile (revision 463451) +++ head/audio/alsa-lib/Makefile (revision 463452) @@ -1,47 +1,48 @@ # Created by: Aragon Gouveia # $FreeBSD$ PORTNAME= alsa-lib PORTVERSION= 1.1.2 PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= ftp://ftp.alsa-project.org/pub/lib/ \ GENTOO MAINTAINER= jbeich@FreeBSD.org COMMENT= ALSA compatibility library LICENSE= LGPL21+ USES= cpe libtool:keepla tar:bzip2 USE_LDCONFIG= yes CPE_VENDOR= alsa GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_header_endian_h=no CONFIGURE_ARGS= --with-pkgconfdir="\$${prefix}/libdata/pkgconfig" INSTALL_TARGET= install-strip TEST_ENV= ${MAKE_ENV} ALSA_CONFIG_PATH="${FILESDIR}/asound.conf.sample" TEST_TARGET= check CPPFLAGS+= -I${FILESDIR} +CPPFLAGS+= -D_WANT_SEMUN OPTIONS_DEFINE= PYTHON OPTIONS_SUB= yes PYTHON_CONFIGURE_ENABLE=python PYTHON_USES= python:2.7 post-patch: .SILENT ${REINPLACE_CMD} -e '/LIBS/ { s/-ldl//g; s/-lrt//g; }' \ -e 's/python-config/${PYTHON_CMD:T}-config/g' \ -e '/pythonlibs/s/--libs/--ldflags/' \ -e '/_GNU_SOURCE/d' \ -e '/lt_cv_dlopen/s/-ldl//g' ${WRKSRC}/configure ${REINPLACE_CMD} '/LIBADD/s/-ldl//g' \ ${WRKSRC}/modules/mixer/simple/Makefile.in ${REINPLACE_CMD} 's|/etc|${PREFIX}&|g' \ ${WRKSRC}/src/conf/alsa.conf post-install: ${INSTALL_DATA} ${FILESDIR}/asound.conf.sample ${STAGEDIR}${PREFIX}/etc .include Index: head/audio/gramofile/Makefile =================================================================== --- head/audio/gramofile/Makefile (revision 463451) +++ head/audio/gramofile/Makefile (revision 463452) @@ -1,54 +1,55 @@ # Created by: nox@jelal.kn-bremen.de # $FreeBSD$ PORTNAME= gramofile PORTVERSION= 1.6P PORTREVISION= 11 CATEGORIES= audio MASTER_SITES= http://www.opensourcepartners.nl/~costar/gramofile/ PATCH_SITES= LOCAL/nox/ PATCHFILES= ${PORTNAME}_1.6-7.diff.gz PATCH_DIST_STRIP= -p1 MAINTAINER= ports@FreeBSD.org COMMENT= Audio recording and tick/scratch reduction for e.g. vinyl records LIB_DEPENDS= libfftw.so:math/fftw ALL_TARGET= gramofile USES= alias gmake ncurses perl5 USE_CSTD= gnu89 MAKE_ARGS= CC="${CC}" \ CXX="${CXX}" \ PERLCOREDIR=${PERLCOREDIR} +CFLAGS+= -D_WANT_SEMUN PERLCOREDIR= ${LOCALBASE}/lib/perl5/${PERL_VER}/${PERL_ARCH}/CORE OPTIONS_DEFINE= DOCS post-patch: ${RM} ${WRKSRC}/debian/20-warning-fixes.dpatch for i in ${WRKSRC}/debian/*.dpatch; do \ ${PATCH} -d ${WRKSRC} `${SED} -n '/^#PATCHOPTIONS:/{s///;p;q;}' $$i` --forward --quiet <$$i ;\ done for i in `${LS} ${FILESDIR}/post-patch-* |${SED} /.orig$$/d`; do \ ${PATCH} -d ${WRKSRC} --forward --quiet <$$i ;\ done ${REINPLACE_CMD} -e "s@-lncurses@-L${LOCALBASE}/lib -lncurses@g" \ -e "s|CFLAGS =|CFLAGS +=|" \ ${WRKSRC}/bplaysrc/Makefile ${REINPLACE_CMD} -e 's,machine/soundcard.h,sys/soundcard.h,' \ ${WRKSRC}/bplaysrc/bplay.c \ ${WRKSRC}/bplaysrc/sndfunc.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gramofile ${WRKSRC}/bplay_gramo \ ${STAGEDIR}${PREFIX}/bin ${LN} -s bplay_gramo ${STAGEDIR}${PREFIX}/bin/brec_gramo do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include Index: head/audio/wavplay/Makefile =================================================================== --- head/audio/wavplay/Makefile (revision 463451) +++ head/audio/wavplay/Makefile (revision 463452) @@ -1,25 +1,27 @@ # Created by: greg # $FreeBSD$ PORTNAME= wavplay PORTVERSION= 1.4 PORTREVISION= 4 CATEGORIES= audio MASTER_SITES= SUNSITE/apps/sound/players/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Wav player and recorder LICENSE= GPLv2 # only LICENSE_FILE= ${WRKSRC}/COPYING +CFLAGS+= -D_WANT_SEMUN + ONLY_FOR_ARCHS= amd64 armv6 armv7 i386 INSTALL_TARGET= install PREFIX="${STAGEDIR}${PREFIX}" PLIST_FILES= bin/wavplay bin/wavrec man/man1/${PORTNAME}.1.gz post-patch: @${REINPLACE_CMD} -e 's|u_long|u_int|g' ${WRKSRC}/*.c ${WRKSRC}/*.h .include Index: head/audio/xmcd/Makefile =================================================================== --- head/audio/xmcd/Makefile (revision 463451) +++ head/audio/xmcd/Makefile (revision 463452) @@ -1,75 +1,77 @@ # Created by: Gennady Sorokopud # $FreeBSD$ PORTNAME= xmcd PORTVERSION= 3.3.2 PORTREVISION= 19 CATEGORIES= audio MASTER_SITES= http://www.ibiblio.org/tkan/download/xmcd/3.3.2/src/ MAINTAINER= deischen@FreeBSD.org COMMENT= Motif CD player LIB_DEPENDS+= libvorbis.so:audio/libvorbis \ libFLAC.so:audio/flac RUN_DEPENDS+= lame:audio/lame USES= imake motif ncurses USE_XORG= x11 xext xaw xmu xp xpm xt sm ice PLIST_SUB+= RELEASE=${OSREL:R:R} ARCH=${ARCH} OPSYS=${OPSYS} SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message +CFLAGS+= -D_WANT_SEMUN + LIBBINDIR= ${STAGEDIR}${PREFIX}/lib/X11/xmcd/bin-${OPSYS}_${OSREL:R:R}-${ARCH} BROKEN_aarch64= Fails to compile: many undefined symbols in xorg.cf BROKEN_armv6= Fails to install: strip: xmcd/bin-FreeBSD_12-armv6/cda failed: No such file or directory BROKEN_armv7= Fails to install: strip: xmcd/bin-FreeBSD_12-armv7/cda failed: No such file or directory BROKEN_mips64= Fails to compile: many undefined symbols in xorg.cf BROKEN_powerpc64= Fails to compile: many undefined symbols in xorg.cf pre-patch: @${CP} ${WRKSRC}/xmcd_d/XMcd.ad ${WRKSRC}/xmcd_d/XMcd.ad.in post-patch: @${SED} -e "s;@PREFIX@;${STAGDIR}${PREFIX};g" ${WRKSRC}/xmcd_d/XMcd.ad.in \ > ${WRKSRC}/xmcd_d/XMcd.ad post-configure: @${REINPLACE_CMD} \ -e 's: BINDIR .*:BINDIR=${STAGEDIR}${PREFIX}/bin:' \ -e 's: LIBDIR .*:LIBDIR=${STAGEDIR}${PREFIX}/lib/X11:' \ -e 's: MANDIR .*:MANDIR=${STAGEDIR}${PREFIX}/man/man1:' \ -e 's: MANSUFFIX .*:MANSUFFIX=1:' \ -e 's/^Makefile::/^Makefile:/' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} \ -e 's/^XBINPERM=4711/XBINPERM=711/' \ -e "s/^(id \| fgrep 'uid=0(root)')/true/" >/dev/null 2>&1 \ ${WRKSRC}/install.sh post-install: ${STRIP_CMD} ${LIBBINDIR}/cda ${LIBBINDIR}/gobrowser \ ${LIBBINDIR}/has_alsa ${LIBBINDIR}/xmcd ${INSTALL_DATA} ${WRKSRC}/xmcd_d/XMcd.ad \ ${STAGEDIR}${PREFIX}/lib/X11/app-defaults/XMcd ${RM} ${STAGEDIR}${PREFIX}/bin/xmcd ${RM} ${STAGEDIR}${PREFIX}/bin/cda ${LN} -sf .xmcd_start ${STAGEDIR}${PREFIX}/bin/xmcd ${LN} -sf .xmcd_start ${STAGEDIR}${PREFIX}/bin/cda ${REINPLACE_CMD} \ -e 's:^BINDIR=.*:XMCDLIB=${PREFIX}/bin:' \ -e 's:^XMCDLIB=.*:XMCDLIB=${PREFIX}/lib/X11/xmcd:' \ -e 's:^DISCOGDIR=.*:DISCOGDIR=${PREFIX}/lib/X11/xmcd/discog:' \ -e 's:XMCD_LIBDIR=.*:XMCD_LIBDIR=${PREFIX}/lib/X11/xmcd:' \ ${STAGEDIR}${PREFIX}/lib/X11/xmcd/scripts/genidx \ ${STAGEDIR}${PREFIX}/bin/.xmcd_start ${REINPLACE_CMD} \ -e 's:${STAGEDIR}::' \ ${STAGEDIR}${PREFIX}/lib/X11/xmcd/discog/discog.html \ ${STAGEDIR}${PREFIX}/lib/X11/xmcd/config/config.sh \ ${STAGEDIR}${PREFIX}/lib/X11/xmcd/bin-${OPSYS}_${OSREL:R:R}-${ARCH}/README ${FIND} ${STAGEDIR}${PREFIX} -name \*.bak -delete ${FIND} ${STAGEDIR}${PREFIX} -type d -empty -delete .include Index: head/audio/zinf/Makefile =================================================================== --- head/audio/zinf/Makefile (revision 463451) +++ head/audio/zinf/Makefile (revision 463452) @@ -1,53 +1,54 @@ # 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_GNOME= gtk20 GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-ipv6 \ --disable-arts CPPFLAGS+= -I${LOCALBASE}/include +CPPFLAGS+= -D_WANT_SEMUN LDFLAGS+= -lpthread -L${LOCALBASE}/lib 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/benchmarks/super-smack/Makefile =================================================================== --- head/benchmarks/super-smack/Makefile (revision 463451) +++ head/benchmarks/super-smack/Makefile (revision 463452) @@ -1,40 +1,41 @@ # Created by: Gea-Suan Lin # $FreeBSD$ PORTNAME= super-smack PORTVERSION= 1.3 PORTREVISION= 3 CATEGORIES= benchmarks databases MASTER_SITES= GENTOO MAINTAINER= ports@FreeBSD.org COMMENT= Benchmarking, stress testing, and load generation tool for Databases LICENSE= GPLv2+ GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-smacks-dir=${DATADIR} MAKE_JOBS_UNSAFE= yes +CPPFLAGS+= -D_WANT_SEMUN PORTDOCS= CHANGES README MANUAL TUTORIAL OPTIONS_DEFINE= DOCS OPTIONS_MULTI= DB OPTIONS_MULTI_DB= MYSQL PGSQL OPTIONS_DEFAULT= MYSQL MYSQL_USE= MYSQL=yes MYSQL_CONFIGURE_ON= --with-mysql \ --with-mysql-include=${LOCALBASE}/include/mysql \ --with-mysql-lib=${LOCALBASE}/lib/mysql PGSQL_USES= pgsql PGSQL_CONFIGURE_ON= --with-pgsql \ --with-pgsql-include=${LOCALBASE}/include \ --with-pgsql-lib=${LOCALBASE}/lib post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include Index: head/databases/fastdb/Makefile =================================================================== --- head/databases/fastdb/Makefile (revision 463451) +++ head/databases/fastdb/Makefile (revision 463452) @@ -1,35 +1,36 @@ # Created by: Ying-Chieh Liao # $FreeBSD$ PORTNAME= fastdb PORTVERSION= 3.75 PORTREVISION= 3 CATEGORIES= databases MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Main Memory Relational Database Management System LICENSE= MIT WRKSRC= ${WRKDIR}/${PORTNAME} OPTIONS_DEFINE= DOCS USES= gmake dos2unix USE_GCC= any MAKE_ENV= OSTYPE="${OPSYS}" MAKEFILE= makefile USE_LDCONFIG= yes DOS2UNIX_FILES= ${MAKEFILE} +CXXFLAGS+= -D_WANT_SEMUN PORTDOCS= FastDB.htm # The port does not build with C++11 or later (bug 219275). USE_CXXSTD= gnu++03 post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/FastDB.htm ${STAGEDIR}${DOCSDIR} .include Index: head/deskutils/fusenshi/Makefile =================================================================== --- head/deskutils/fusenshi/Makefile (revision 463451) +++ head/deskutils/fusenshi/Makefile (revision 463452) @@ -1,30 +1,31 @@ # Created by: Masanori OZAWA (ozawa@ongs.co.jp) # $FreeBSD$ PORTNAME= fusenshi PORTVERSION= 0.9.0 PORTREVISION= 15 CATEGORIES= deskutils MASTER_SITES= http://www.ongs.co.jp/projects/fusenshi/ MAINTAINER= ozawa@ongs.co.jp COMMENT= Post-it(R) like application with network support USES= compiler:c++11-lang gettext pkgconfig tar:tgz USE_CXXSTD= c++11 USE_GNOME= gtkmm24 gtksourceview libxml2 USE_XORG= x11 MAKE_JOBS_UNSAFE= yes +CXXFLAGS+= -D_WANT_SEMUN .ifdef WITHOUT_SSL MAKE_ARGS+= WITHOUT_SSL=yes .else LIB_DEPENDS+= libgnutls.so:security/gnutls .endif BROKEN_aarch64= Fails to compile: error: cast from pointer to smaller type loses information post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/fusenshi .include Index: head/devel/ace/Makefile =================================================================== --- head/devel/ace/Makefile (revision 463451) +++ head/devel/ace/Makefile (revision 463452) @@ -1,100 +1,101 @@ # Created by: Sergey Matveychuk # $FreeBSD$ PORTNAME= ace PORTVERSION= 6.4.3 CATEGORIES= devel MASTER_SITES= ftp://download.dre.vanderbilt.edu/previous_versions/ \ http://download.dre.vanderbilt.edu/previous_versions/ DISTNAME= ${PORTNAME:tu}-${PORTVERSION} MAINTAINER= amutu@amutu.com COMMENT= Adaptive Communication Environment for C++ LICENSE= ACE LICENSE_NAME= ACE LICENSE_FILE= ${WRKSRC}/COPYING LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept WRKSRC= ${WRKDIR}/ACE_wrappers USES= gmake perl5 pkgconfig shebangfix tar:bzip2 USE_PERL5= build SHEBANG_FILES= bin/*.pl MPC/*.pl MAKE_ENV= LD_LIBRARY_PATH="${WRKSRC}/lib" ACE_ROOT="${WRKSRC}" \ CROSS-COMPILE=1 MAKEFILE= GNUmakefile USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include +CPPFLAGS+= -D_WANT_SEMUN LDFLAGS+= -L${LOCALBASE}/lib PLIST_SUB= VERSION="${PORTVERSION}" CONFLICTS= ace+tao-5* BROKEN_aarch64= Fails to link: missing sbrk BROKEN_powerpc= Does not compile on ${ARCH} BROKEN_powerpc64= Does not build on ${ARCH}: undefined reference to fmodl BROKEN_sparc64= Does not compile on ${ARCH} OPTIONS_DEFINE= FLTK QT4 SSL TK TRIO X11 OPTIONS_DEFAULT= SSL OPTIONS_SUB= yes FLTK_DESC= FLTK GUI toolkit FLTK_LIB_DEPENDS= libfltk.so:x11-toolkits/fltk FLTK_MAKE_ENV= fl=1 QT4_USE= QT4=corelib,gui,moc_build QT4_MAKE_ENV= qt=1 qt4=1 QTDIR="${PREFIX}" QT4_CPPFLAGS= -I${QT_INCDIR} QT4_LDFLAGS= -L${QT_LIBDIR} SSL_USES= ssl SSL_MAKE_ENV= ssl=1 TK_USES= tk TK_MAKE_ENV= tk=1 TRIO_DESC= Trio portable string functions TRIO_BUILD_DEPENDS= trio>=0:devel/trio TRIO_MAKE_ENV= trio=1 X11_USE= XORG=xt X11_MAKE_ENV= xt=1 post-patch: @${REINPLACE_CMD} -e \ 's|/$$libdir/pkgconfig|/libdata/pkgconfig|g' \ ${WRKSRC}/bin/ace_install_pkgconfig.pl @${REINPLACE_CMD} -i "" -e \ '/^C[CX]/s|\([[:space:]]\)=|\1?=| ; \ s|/usr/local|${LOCALBASE}| ; \ s|/usr/X11R6|${LOCALBASE}|' \ ${WRKSRC}/include/makeinclude/platform_freebsd.GNU do-configure: @cd ${WRKSRC}/ace \ && ${ECHO_CMD} "#include " >> config.h @cd ${WRKSRC}/include/makeinclude \ && ${ECHO_CMD} "include \$$(ACE_ROOT)/include/makeinclude/platform_${OPSYS:tl}.GNU" >> platform_macros.GNU \ && ${ECHO_CMD} "CC= ${CC}" >> platform_macros.GNU \ && ${ECHO_CMD} "CXX= ${CXX}" >> platform_macros.GNU \ && ${ECHO_CMD} "CPPFLAGS= ${CPPFLAGS}" >> platform_macros.GNU \ && ${ECHO_CMD} "LDFLAGS= ${LDFLAGS}" >> platform_macros.GNU \ && ${ECHO_CMD} "DCFLAGS=" >> platform_macros.GNU \ && ${ECHO_CMD} "OCFLAGS= ${CFLAGS}" >> platform_macros.GNU \ && ${ECHO_CMD} "INSTALL_PREFIX= ${PREFIX}" >> platform_macros.GNU \ && ${ECHO_CMD} "PLATFORM_TK_CPPFLAGS= \$$(shell . ${TK_LIBDIR}/tkConfig.sh && ${ECHO_CMD} -n \$$\$$TK_INCLUDE_SPEC)" >> platform_macros.GNU \ && ${ECHO_CMD} "PLATFORM_TK_LIBS= \$$(shell . ${TK_LIBDIR}/tkConfig.sh && ${ECHO_CMD} -n \$$\$$TK_LIB_FLAG)" >> platform_macros.GNU \ && ${ECHO_CMD} "PLATFORM_TCL_CPPFLAGS= \$$(shell . ${TCL_LIBDIR}/tclConfig.sh && ${ECHO_CMD} -n \$$\$$TCL_INCLUDE_SPEC)" >> platform_macros.GNU \ && ${ECHO_CMD} "PLATFORM_TCL_LIBS= \$$(shell . ${TCL_LIBDIR}/tclConfig.sh && ${ECHO_CMD} -n \$$\$$TCL_LIB_FLAG)" >> platform_macros.GNU post-install: @for f in `${LS} -d \ ${STAGEDIR}${PREFIX}/lib/libACE*.so.${PORTVERSION} \ ${STAGEDIR}${PREFIX}/lib/libJAWS.so.${PORTVERSION} \ ${STAGEDIR}${PREFIX}/lib/libKokyu.so.${PORTVERSION} \ | ${XARGS} ${BASENAME}`; do \ n=`${ECHO_CMD} $${f}|${SED} -e 's/.so.${PORTVERSION}/.so/'`; \ ${LN} -sf $${n}.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/$${n}.6; \ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/$${n}.${PORTVERSION}; \ done .include Index: head/devel/libmba/Makefile =================================================================== --- head/devel/libmba/Makefile (revision 463451) +++ head/devel/libmba/Makefile (revision 463452) @@ -1,27 +1,28 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= libmba PORTVERSION= 0.9.1 PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://www.ioplex.com/~miallen/libmba/dl/ \ LOCAL/miwi MAINTAINER= ports@FreeBSD.org COMMENT= Collection of C modules potentially useful to any project MAKE_JOBS_UNSAFE= yes USE_LDCONFIG= yes MAKE_ARGS= prefix="${STAGEDIR}${PREFIX}" +CFLAGS+= -D_WANT_SEMUN post-patch: @${REINPLACE_CMD} -e 's,-g,$$(CFLAGS),' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} -Ee 's,"g?cc","${CC}",' \ ${WRKSRC}/mktool.c post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmba.so .include Index: head/devel/libshbuf/Makefile =================================================================== --- head/devel/libshbuf/Makefile (revision 463451) +++ head/devel/libshbuf/Makefile (revision 463452) @@ -1,20 +1,21 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= libshbuf PORTVERSION= 0.0.3 CATEGORIES= devel MASTER_SITES= http://0pointer.de/lennart/projects/libshbuf/ MAINTAINER= ports@FreeBSD.org COMMENT= Library for Shared Buffer IPC LICENSE= GPLv2 # though COPYING says LGPL21 USE_LDCONFIG= yes USES= pathfix libtool GNU_CONFIGURE= yes CONFIGURE_ARGS+=--disable-lynx --disable-doxygen INSTALL_TARGET= install-strip +CFLAGS+= -D_WANT_SEMUN .include Index: head/devel/nspr/Makefile =================================================================== --- head/devel/nspr/Makefile (revision 463451) +++ head/devel/nspr/Makefile (revision 463452) @@ -1,49 +1,50 @@ # Created by: Maxim Sobolev # $FreeBSD$ PORTNAME= nspr DISTVERSION= 4.18 CATEGORIES= devel MASTER_SITES= MOZILLA/${PORTNAME}/releases/v${PORTVERSION}/src MAINTAINER= gecko@FreeBSD.org COMMENT= Platform-neutral API for system level and libc like functions LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= cpe gmake pathfix CPE_VENDOR= mozilla CPE_PRODUCT= netscape_portable_runtime WRKSRC_SUBDIR= nspr GNU_CONFIGURE= yes USE_LDCONFIG= yes +CFLAGS+= -D_WANT_SEMUN OPTIONS_DEFINE= DEBUG TEST DEBUG_CONFIGURE_ENABLE=debug post-patch: # Do not install tools to build itself @${REINPLACE_CMD} -e '/RELEASE_BINS/d' \ ${WRKSRC}/pr/src/misc/Makefile.in post-build-TEST-on: @${DO_MAKE_BUILD} -C ${BUILD_WRKSRC}/lib/tests @${DO_MAKE_BUILD} -C ${BUILD_WRKSRC}/pr/tests @${LN} -fs libmy.so.1 ${BUILD_WRKSRC}/pr/tests/dll/libmy.so post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so do-test-TEST-on: ${TEST_WRKSRC}/lib/tests/string ${TEST_WRKSRC}/lib/tests/base64t cd ${TEST_WRKSRC}/pr/tests && ${WRKSRC}/pr/tests/runtests.sh # The test below is commented out, because arena requires # command-line arguments. If you can provide reasonable values # for it, please contact ${MAINTAINER}. Thank you. # ${TEST_WRKSRC}/lib/tests/arena # .include Index: head/devel/poco-ssl/Makefile =================================================================== --- head/devel/poco-ssl/Makefile (revision 463451) +++ head/devel/poco-ssl/Makefile (revision 463452) @@ -1,59 +1,60 @@ # Created by: Wes Peters # $FreeBSD$ PORTNAME= poco # New version 1.4.6p4 is available; please use DISTVERSION upon updating PORTVERSION= 1.4.3 PORTREVISION= 5 CATEGORIES= devel net MASTER_SITES= SF/${PORTNAME}/sources/${PORTNAME}-${PORTVERSION} PKGNAMESUFFIX= -ssl DISTNAME= ${PORTNAME}-${PORTVERSION}p1-all MAINTAINER= ports@FreeBSD.org COMMENT= C++ libraries with a network/internet focus (full version) LICENSE= BSL LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_SSL= openssl-devel BROKEN_SSL_REASON_openssl-devel= field has incomplete type 'EVP_CIPHER_CTX' (aka 'evp_cipher_ctx_st') CONFLICTS= poco-[0-9]* USES= gmake tar:bzip2 ssl HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} --config=FreeBSD USE_LDCONFIG= yes +CXXFLAGS+= -D_WANT_SEMUN OPTIONS_DEFINE= TEST SAMPLES MYSQL SQLITE ODBC OPTIONS_DEFAULT=MYSQL SQLITE OPTIONS_SUB= yes SAMPLES_DESC= Build sample programs TEST_CONFIGURE_OFF= --no-tests SAMPLES_CONFIGURE_OFF= --no-samples ODBC_LIB_DEPENDS= libodbc.so:databases/libiodbc ODBC_CONFIGURE_OFF= --omit=Data/ODBC MYSQL_USE= MYSQL=yes MYSQL_CONFIGURE_OFF= --omit=Data/MySQL SQLITE_USES= sqlite SQLITE_CONFIGURE_OFF= --omit=Data/SQLite post-extract: @${RM} -f ${WRKSRC}/Foundation/include/Poco/._Version.h post-patch-TEST-off: @${REINPLACE_CMD} -e '/^all:/s/tests//' ${WRKSRC}/Makefile post-patch-SAMPLES-off: @${REINPLACE_CMD} -e '/^all:/s/samples//' ${WRKSRC}/Makefile post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*d @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*d.so.* .include Index: head/devel/shmap/Makefile =================================================================== --- head/devel/shmap/Makefile (revision 463451) +++ head/devel/shmap/Makefile (revision 463452) @@ -1,24 +1,25 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= shmap PORTVERSION= 0.3.2 PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-devel/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Shared-memory-based hashmaps LIB_DEPENDS= libmm.so:devel/mm USES= libtool GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib USE_LDCONFIG= yes +CPPFLAGS+= -D_WANT_SEMUN post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libshmap.so .include Index: head/emulators/qemu-sbruno/Makefile =================================================================== --- head/emulators/qemu-sbruno/Makefile (revision 463451) +++ head/emulators/qemu-sbruno/Makefile (revision 463452) @@ -1,299 +1,300 @@ # Created by: Juergen Lock # $FreeBSD$ PORTNAME= qemu PORTVERSION= 2.11.50.g20180208 CATEGORIES= emulators MASTER_SITES= GH PKGNAMESUFFIX?= -sbruno DIST_SUBDIR= qemu/${PORTVERSION} MAINTAINER= sbruno@FreeBSD.org COMMENT?= QEMU CPU Emulator - github bsd-user branch LICENSE= GPLv2 USE_GITHUB= yes GH_TUPLE= seanbruno:qemu-bsd-user:2b84fbb94e9 \ qemu:keycodemapdb:10739aa:keycodemapdb/ui/keycodemapdb HAS_CONFIGURE= yes USES= gmake pkgconfig bison perl5 python:2.7,build USE_PERL5= build MAKE_ENV+= BSD_MAKE="${MAKE}" V=1 ONLY_FOR_ARCHS= amd64 powerpc powerpc64 # XXX someone wants to debug sparc64 hosts? BROKEN_i386= aarch64 system target is currently broken for i386 hosts, disable for now while dealing with upstream BROKEN_powerpc64= fails to build: async.c: internal compiler error: Segmentation fault OPTIONS_DEFINE= SAMBA X11 GTK2 OPENGL GNUTLS SASL JPEG PNG CURL \ CDROM_DMA PCAP USBREDIR X86_TARGETS BSD_USER \ STATIC_LINK DOCS SAMBA_DESC= samba dependency (for -smb) GNUTLS_DESC= gnutls dependency (vnc encryption) SASL_DESC= cyrus-sasl dependency (vnc encryption) JPEG_DESC= jpeg dependency (vnc lossy compression) PNG_DESC= png dependency (vnc compression) CDROM_DMA_DESC= IDE CDROM DMA PCAP_DESC= pcap dependency (networking with bpf) USBREDIR_DESC= usb device network redirection (experimental!) X86_TARGETS_DESC= Don't build non-x86 system targets BSD_USER_DESC= Also build bsd-user targets (for testing) STATIC_LINK_DESC= Statically link the executables OPTIONS_DEFAULT=X11 GTK2 OPENGL GNUTLS SASL JPEG PNG CDROM_DMA CURL PCAP .if !defined(QEMU_USER_STATIC) CONFLICTS_INSTALL= qemu-[0-9]* qemu-devel-* .endif .if defined(QEMU_USER_STATIC) .if exists(/usr/sbin/binmiscctl) USE_RC_SUBR= qemu_user_static SUB_LIST= NAME=qemu_user_static CONFIGURE_ARGS+= --disable-tools .endif .else # qemu-system-* targets require pixman to build, add an explicit dependency. USE_XORG= pixman .endif # When static linking we have a build dependency on libglib-2.0.a, otherwise # we use glib20 in the usual way (shared-lib runtime dependency). .if defined(QEMU_USER_STATIC) BUILD_DEPENDS+= ${LOCALBASE}/lib/libglib-2.0.a:devel/glib20 .else USE_GNOME+= glib20 BUILD_DEPENDS+= ${LOCALBASE}/lib/libfdt.so:sysutils/dtc .endif .include CONFIGURE_ARGS+= --localstatedir=/var CONFIGURE_ARGS+= --extra-ldflags=-L${LOCALBASE}/lib CONFIGURE_ARGS+= --extra-cflags=-I${LOCALBASE}/include CONFIGURE_ARGS+= --disable-libssh2 PORTDOCS= docs qemu-doc.html .if defined(QEMU_USER_STATIC) .if ${ARCH} != "amd64" CONFIGURE_ARGS+= --target-list=i386-bsd-user,sparc-bsd-user,arm-bsd-user,mips-bsd-user,mipsel-bsd-user,ppc-bsd-user .else CONFIGURE_ARGS+= --target-list=i386-bsd-user,x86_64-bsd-user,sparc-bsd-user,sparc64-bsd-user,arm-bsd-user,mips-bsd-user,mipsel-bsd-user,mips64-bsd-user,mips64el-bsd-user,ppc-bsd-user,ppc64-bsd-user,aarch64-bsd-user .endif .else .if ${PORT_OPTIONS:MX86_TARGETS} .if ${PORT_OPTIONS:MBSD_USER} .if ${ARCH} != "amd64" CONFIGURE_ARGS+= --target-list=i386-softmmu,x86_64-softmmu,i386-bsd-user,sparc-bsd-user,arm-bsd-user,mips-bsd-user,mipsel-bsd-user,ppc-bsd-user .else CONFIGURE_ARGS+= --target-list=i386-softmmu,x86_64-softmmu,i386-bsd-user,x86_64-bsd-user,sparc-bsd-user,sparc64-bsd-user,arm-bsd-user,mips-bsd-user,mipsel-bsd-user,mips64-bsd-user,mips64el-bsd-user,ppc-bsd-user,ppc64-bsd-user,aarch64-bsd-user .endif .else CONFIGURE_ARGS+= --target-list=i386-softmmu,x86_64-softmmu .endif .else .if empty(PORT_OPTIONS:MBSD_USER) CONFIGURE_ARGS+= --disable-bsd-user .else .if ${ARCH} != "amd64" CONFIGURE_ARGS+= --target-list=i386-softmmu,x86_64-softmmu,aarch64-softmmu,alpha-softmmu,arm-softmmu,cris-softmmu,lm32-softmmu,m68k-softmmu,microblaze-softmmu,microblazeel-softmmu,mips-softmmu,mipsel-softmmu,mips64-softmmu,mips64el-softmmu,or32-softmmu,ppc-softmmu,ppcemb-softmmu,ppc64-softmmu,sh4-softmmu,sh4eb-softmmu,sparc-softmmu,sparc64-softmmu,s390x-softmmu,xtensa-softmmu,xtensaeb-softmmu,unicore32-softmmu,moxie-softmmu,i386-bsd-user,sparc-bsd-user,arm-bsd-user,mips-bsd-user,mipsel-bsd-user,ppc-bsd-user .endif .endif .endif .endif .if empty(PORT_OPTIONS:MBSD_USER) PLIST_SUB+= BSD_USER="@comment " .else PLIST_SUB+= BSD_USER="" .if ${ARCH} == "sparc64" IGNORE= bsd-user targets not tested on sparc64 .endif .endif .if empty(PORT_OPTIONS:MBSD_USER) || ${ARCH} != "amd64" PLIST_SUB+= BSD_USER64="@comment " .else PLIST_SUB+= BSD_USER64="" .endif .if ${PORT_OPTIONS:MX86_TARGETS} PLIST_SUB+= NONX86="@comment " .else PLIST_SUB+= NONX86="" .endif .if defined(QEMU_USER_STATIC) PLIST_SUB+= SOFTMMU="@comment " PLIST_SUB+= STATIC="-static" .else PLIST_SUB+= SOFTMMU="" PLIST_SUB+= STATIC="" .endif WITHOUT_CPU_CFLAGS=yes #to avoid problems with register allocation CFLAGS:= ${CFLAGS:C/-fno-tree-vrp//} CFLAGS+= -Wno-address-of-packed-member +CFLAGS+= -D_WANT_SEMUN CONFIGURE_ARGS+= --prefix=${PREFIX} --cc=${CC} --enable-docs \ --disable-linux-user --disable-linux-aio \ --disable-kvm --disable-xen \ --smbd=${LOCALBASE}/sbin/smbd \ --enable-debug \ --enable-debug-info \ --extra-cflags=-I${WRKSRC}\ -I${LOCALBASE}/include\ -DPREFIX=\\\"\"${PREFIX}\\\"\" .if empty(PORT_OPTIONS:MX11) CONFIGURE_ARGS+= --disable-sdl .else CONFIGURE_ARGS+= --enable-sdl USE_SDL= sdl .endif .if empty(PORT_OPTIONS:MGTK2) CONFIGURE_ARGS+= --disable-gtk --disable-vte PLIST_SUB+= GTK2="@comment " .else USE_GNOME+= gtk20 vte USES+= gettext PLIST_SUB+= GTK2="" .endif .if ${PORT_OPTIONS:MGNUTLS} LIB_DEPENDS+= libgnutls.so:security/gnutls .endif .if empty(PORT_OPTIONS:MSASL) CONFIGURE_ARGS+= --disable-vnc-sasl .else LIB_DEPENDS+= libsasl2.so:security/cyrus-sasl2 .endif .if empty(PORT_OPTIONS:MJPEG) CONFIGURE_ARGS+= --disable-vnc-jpeg .else USES+= jpeg .endif .if empty(PORT_OPTIONS:MPNG) CONFIGURE_ARGS+= --disable-vnc-png .else LIB_DEPENDS+= libpng.so:graphics/png .endif .if empty(PORT_OPTIONS:MCURL) CONFIGURE_ARGS+= --disable-curl .else LIB_DEPENDS+= libcurl.so:ftp/curl .endif .if empty(PORT_OPTIONS:MOPENGL) CONFIGURE_ARGS+= --disable-opengl .else USE_GL= yes .endif .if empty(PORT_OPTIONS:MUSBREDIR) CONFIGURE_ARGS+= --disable-usb-redir .else BUILD_DEPENDS+= usbredir>=0.6:net/usbredir RUN_DEPENDS+= usbredir>=0.6:net/usbredir .endif .if ${PORT_OPTIONS:MPCAP} CONFIGURE_ARGS+= --enable-pcap .else CONFIGURE_ARGS+= --disable-pcap .endif .if ${PORT_OPTIONS:MSTATIC_LINK} .if ${PORT_OPTIONS:MGTK2} || ${PORT_OPTIONS:MX11} IGNORE= the X11 ui cannot be built static .endif CONFIGURE_ARGS+= --static .endif .if ${PORT_OPTIONS:MSAMBA} USES+= samba:run # smbd .endif .if ${PORT_OPTIONS:MDOCS} BUILD_DEPENDS+= texi2html:textproc/texi2html USES+= makeinfo .else MAKE_ARGS+= NOPORTDOCS=1 .endif .if !defined(STRIP) || ${STRIP} == "" CONFIGURE_ARGS+=--disable-strip .endif .if ${ARCH} == "amd64" MAKE_ARGS+= ARCH=x86_64 .endif .if ${ARCH} == "powerpc" MAKE_ARGS+= ARCH=ppc .endif .if ${ARCH} == "powerpc64" MAKE_ARGS+= ARCH=ppc64 .endif .if ${ARCH} == "sparc64" CONFIGURE_ARGS+= --sparc_cpu=v9 .endif CONFIGURE_ARGS+= --python=${PYTHON_CMD} # clang in freebsd 10 is unable to assemble linuxboot_dma.bin .if (${OPSYS} == FreeBSD && ${OSVERSION} < 1100000) PLIST_SUB+= LINUXBOOT_DMA="@comment " .else PLIST_SUB+= LINUXBOOT_DMA="" .endif post-patch: @${REINPLACE_CMD} -e '/libs_qga=/s|glib_libs|glib_libs -lintl|' ${WRKSRC}/configure # clang in freebsd 10 is unable to assemble linuxboot_dma.bin .if (${OPSYS} == FreeBSD && ${OSVERSION} < 1100000) @${REINPLACE_CMD} -E \ -e 's|linuxboot_dma.bin||' \ ${WRKSRC}/pc-bios/optionrom/Makefile @${REINPLACE_CMD} -E \ -e 's|linuxboot_dma.bin||' \ ${WRKSRC}/Makefile .endif .if empty(PORT_OPTIONS:MCDROM_DMA) @cd ${WRKSRC} && ${PATCH} --quiet < ${FILESDIR}/cdrom-dma-patch .endif @${REINPLACE_CMD} -E \ -e "/^by Tibor .TS. S/s|Sch.*z.$$|Schuetz.|" \ ${WRKSRC}/qemu-doc.texi @${REINPLACE_CMD} -E \ -e "s|^(CFLAGS=).*|\1${CFLAGS} -fno-strict-aliasing|" \ -e "s|^(LDFLAGS=).*|\1${LDFLAGS}|" \ ${WRKSRC}/Makefile.target @${REINPLACE_CMD} -E \ -e "s|^(CFLAGS=).*|\1${CFLAGS} -fno-strict-aliasing -I.|" \ -e "s|^(LDFLAGS=).*|\1${LDFLAGS}|" \ ${WRKSRC}/Makefile @${REINPLACE_CMD} -E \ -e "1s|^(#! )/usr/bin/perl|\1${PERL}|" \ ${WRKSRC}/scripts/texi2pod.pl # XXX need to disable usb host code on head while it's not ported to the # new usb stack yet post-configure: @${REINPLACE_CMD} -E \ -e "s|^(HOST_USB=)bsd|\1stub|" \ ${WRKSRC}/config-host.mak .if !target(post-install) post-install: .if ${PORT_OPTIONS:MDOCS} @(cd ${WRKSRC} && ${COPYTREE_SHARE} docs ${STAGEDIR}${DOCSDIR}/) .endif ${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifup.sample ${STAGEDIR}${PREFIX}/etc ${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifdown.sample ${STAGEDIR}${PREFIX}/etc @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qemu-* .endif .include Index: head/emulators/virtualbox-ose/files/patch-src_libs_xpcom18a4_nsprpub_pr_src_pthreads_ptsynch.c =================================================================== --- head/emulators/virtualbox-ose/files/patch-src_libs_xpcom18a4_nsprpub_pr_src_pthreads_ptsynch.c (nonexistent) +++ head/emulators/virtualbox-ose/files/patch-src_libs_xpcom18a4_nsprpub_pr_src_pthreads_ptsynch.c (revision 463452) @@ -0,0 +1,22 @@ +--- src/libs/xpcom18a4/nsprpub/pr/src/pthreads/ptsynch.c.orig ++++ src/libs/xpcom18a4/nsprpub/pr/src/pthreads/ptsynch.c +@@ -49,6 +49,9 @@ + #include + #include + #include ++#ifdef FREEBSD ++#include ++#endif + + static pthread_mutexattr_t _pt_mattr; + static pthread_condattr_t _pt_cvar_attr; +@@ -798,7 +801,8 @@ + * From the semctl(2) man page in glibc 2.0 + */ + #if (defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED)) \ +- || defined(FREEBSD) || defined(OPENBSD) || defined(BSDI) ++ || (defined(FREEBSD) && __FreeBSD_version < 1200059) \ ++ || defined(OPENBSD) || defined(BSDI) + /* union semun is defined by including */ + #else + /* according to X/OPEN we have to define it ourselves */ Property changes on: head/emulators/virtualbox-ose/files/patch-src_libs_xpcom18a4_nsprpub_pr_src_pthreads_ptsynch.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/ftp/gftp/Makefile =================================================================== --- head/ftp/gftp/Makefile (revision 463451) +++ head/ftp/gftp/Makefile (revision 463452) @@ -1,25 +1,26 @@ # Created by: Damjan Marion # $FreeBSD$ PORTNAME= gftp PORTVERSION= 2.0.19 PORTREVISION= 6 CATEGORIES= ftp MASTER_SITES= http://gftp.seul.org/ MAINTAINER= oliver@FreeBSD.org COMMENT= Free multithreaded GTK-based FTP and SFTP client LICENSE= GPLv2 USES= pathfix pkgconfig tar:bzip2 ssl GNU_CONFIGURE= yes USE_GNOME= glib20 gtk20 +CFLAGS+= -D_WANT_SEMUN OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_OFF= --disable-nls .include Index: head/lang/cint/files/patch-cint_lib_ipc_ipcif.h =================================================================== --- head/lang/cint/files/patch-cint_lib_ipc_ipcif.h (nonexistent) +++ head/lang/cint/files/patch-cint_lib_ipc_ipcif.h (revision 463452) @@ -0,0 +1,20 @@ +--- cint/lib/ipc/ipcif.h.orig ++++ cint/lib/ipc/ipcif.h +@@ -28,13 +28,16 @@ + #include + #include + #include ++#ifdef __FreeBSD__ ++#include ++#endif + #if defined(G__APPLE) || defined(__APPLE__) + /* union semun is defined by including */ + #elif defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED) + /* union semun is defined by including */ + #else + /* according to X/OPEN we have to define it ourselves */ +-#if !defined(__FreeBSD__) && !defined(__KCC) && !defined(__sgi) ++#if (!defined(__FreeBSD__) || __FreeBSD_version >= 1200059) && !defined(__KCC) && !defined(__sgi) + union semun { + int val; /* value for SETVAL */ + struct semid_ds *buf; /* buffer for IPC_STAT, IPC_SET */ Property changes on: head/lang/cint/files/patch-cint_lib_ipc_ipcif.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/lang/ferite/Makefile =================================================================== --- head/lang/ferite/Makefile (revision 463451) +++ head/lang/ferite/Makefile (revision 463452) @@ -1,39 +1,40 @@ # Created by: Jeremy Norris # $FreeBSD$ PORTNAME= ferite PORTVERSION= 1.0.2 PORTREVISION= 6 CATEGORIES= lang MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Embeddable scripting language LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libpcre.so:devel/pcre \ libxml2.so:textproc/libxml2 USES= gmake libtool GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -lpthread -L${LOCALBASE}/lib USE_LDCONFIG= yes PLIST_SUB= MACHINE_ARCH=${MACHINE_ARCH} INSTALL_TARGET= install-strip +CFLAGS+= -D_WANT_SEMUN PORTDOCS= * OPTIONS_DEFINE= DOCS DOCS_MAKE_ENV_OFF= NOPORTDOCS=1 post-patch: @${REINPLACE_CMD} -e 's|||' \ ${WRKSRC}/src/ferite_scanner.c @${FIND} ${WRKSRC} -name Makefile.in -print | ${XARGS} \ ${REINPLACE_CMD} -e "s|-lferite|-lferite -L${WRKSRC}/src/.libs|g" .include Index: head/lang/rexx-regutil/Makefile =================================================================== --- head/lang/rexx-regutil/Makefile (revision 463451) +++ head/lang/rexx-regutil/Makefile (revision 463452) @@ -1,50 +1,51 @@ # Created by: Bob Eager # $FreeBSD$ PORTNAME= regutil PORTVERSION= 1.26 PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= http://home.interlog.com/~ptjm/ \ http://www.ancientgeek.org.uk/distfiles/ PKGNAMEPREFIX= rexx- DISTNAME= ${PORTNAME}${PORTVERSION:S/.//} MAINTAINER= bob@eager.cx COMMENT= Implementation of IBM's RexxUtil function library for Regina LICENSE= MPL10 BUILD_DEPENDS= ${LOCALBASE}/include/rexxsaa.h:lang/rexx-regina USES= ncurses zip WRKSRC= ${WRKDIR}/${PORTNAME} USE_LDCONFIG= yes LLD_UNSAFE= yes # lld lacks built-in search paths MAKEFILE= Makefile.bsd MAKE_ARGS+= PLIBS="${LDFLAGS:M-L*} -lncurses" +CFLAGS+= -D_WANT_SEMUN SUB_FILES= regutil.1 PLIST_FILES= lib/librexxutil.so \ man/man1/regutil.1.gz PORTDOCS= regutil.pdf PORTEXAMPLES= *.rex OPTIONS_DEFINE= DOCS EXAMPLES do-install: ${INSTALL_LIB} ${WRKSRC}/librexxutil.so ${STAGEDIR}${PREFIX}/lib ${INSTALL_MAN} ${WRKDIR}/regutil.1 ${STAGEDIR}${MANPREFIX}/man/man1 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/regutil.pdf ${STAGEDIR}${DOCSDIR} do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/*.rex ${STAGEDIR}${EXAMPLESDIR} .include Index: head/mail/batv-milter/Makefile =================================================================== --- head/mail/batv-milter/Makefile (revision 463451) +++ head/mail/batv-milter/Makefile (revision 463452) @@ -1,62 +1,63 @@ # Created by: Hirohisa Yamaguchi # $FreeBSD$ PORTNAME= batv-milter PORTVERSION= 0.5.0 PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= SF MAINTAINER= umq@ueo.co.jp COMMENT= Milter for BATV (Bounce Address Tag Validation) .if !exists( /usr/include/libmilter/mfapi.h ) BUILD_DEPENDS+= ${LOCALBASE}/include/libmilter/mfapi.h:mail/libmilter .endif USES= uidfix ssl USE_RC_SUBR= milter-batv MAKE_ARGS= UBINOWN=${UID} UBINGRP=${GID} +CFLAGS+= -D_WANT_SEMUN WCONF= ${WRKSRC}/devtools/Site PLIST_FILES= bin/batv-filter man/man8/batv-filter.8.gz PORTDOCS= INSTALL KNOWNBUGS LICENSE README RELEASE_NOTES \ draft-levine-smtp-batv-01.txt SITE= ${FILESDIR}/site.config.m4 SITE_SUB= -e "s|%%PREFIX%%|${PREFIX}|g" \ -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \ -e "s|%%OPENSSLINC%%|${OPENSSLINC}|g" \ -e "s|%%OPENSSLLIB%%|${OPENSSLLIB}|g" OPTIONS_DEFINE= DOCS .include .include "${PORTSDIR}/mail/sendmail/bsd.milter.mk" .if defined(WITH_DEBUG) SITE_SUB+= -e '\|confOPTIMIZE.*-g|s/^dnl //g' .endif pre-configure: .if !exists( /usr/include/libmilter/mfapi.h ) ${REINPLACE_CMD} -e '/sendmail/ s|dnl ||; \ s|/usr/local/sendmail|${LOCALBASE}|' \ ${WRKSRC}/batv-filter/Makefile.m4 .endif ${SED} ${SITE_SUB} -e '\|^dnl |d' -e '/^dnl$$/d' \ ${SITE} > ${WCONF}/site.config.m4 post-install: .if !defined(WITH_DEBUG) @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/batv-filter .endif @${RM} ${MANPREFIX}/man/cat8/batv-filter.8 ${MANPREFIX}/man/cat8/batv-filter.8.gz ${INSTALL_MAN} ${WRKSRC}/*/batv-filter.8 ${STAGEDIR}${MANPREFIX}/man/man8/ ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .include Index: head/mail/batv-milter/files/patch-include_sm_os_sm__os__freebsd.h =================================================================== --- head/mail/batv-milter/files/patch-include_sm_os_sm__os__freebsd.h (nonexistent) +++ head/mail/batv-milter/files/patch-include_sm_os_sm__os__freebsd.h (revision 463452) @@ -0,0 +1,14 @@ +--- include/sm/os/sm_os_freebsd.h.orig ++++ include/sm/os/sm_os_freebsd.h +@@ -34,7 +34,11 @@ + # define SM_CONF_SHM 1 + #endif /* SM_CONF_SHM */ + #ifndef SM_CONF_SEM ++#if __FreeBSD_version < 1200059 + # define SM_CONF_SEM 1 ++#else ++# define SM_CONF_SEM 2 ++#endif + #endif /* SM_CONF_SEM */ + #ifndef SM_CONF_MSG + # define SM_CONF_MSG 1 Property changes on: head/mail/batv-milter/files/patch-include_sm_os_sm__os__freebsd.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/mail/dk-milter/files/patch-include_sm_os_sm__os__freebsd.h =================================================================== --- head/mail/dk-milter/files/patch-include_sm_os_sm__os__freebsd.h (nonexistent) +++ head/mail/dk-milter/files/patch-include_sm_os_sm__os__freebsd.h (revision 463452) @@ -0,0 +1,14 @@ +--- include/sm/os/sm_os_freebsd.h.orig ++++ include/sm/os/sm_os_freebsd.h +@@ -34,7 +34,11 @@ + # define SM_CONF_SHM 1 + #endif /* SM_CONF_SHM */ + #ifndef SM_CONF_SEM ++#if __FreeBSD_version < 1200059 + # define SM_CONF_SEM 1 ++#else ++# define SM_CONF_SEM 2 ++#endif + #endif /* SM_CONF_SEM */ + #ifndef SM_CONF_MSG + # define SM_CONF_MSG 1 Property changes on: head/mail/dk-milter/files/patch-include_sm_os_sm__os__freebsd.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/mail/sendmail/files/patch-include_sm_os_sm__os__freebsd.h =================================================================== --- head/mail/sendmail/files/patch-include_sm_os_sm__os__freebsd.h (nonexistent) +++ head/mail/sendmail/files/patch-include_sm_os_sm__os__freebsd.h (revision 463452) @@ -0,0 +1,14 @@ +--- include/sm/os/sm_os_freebsd.h.orig ++++ include/sm/os/sm_os_freebsd.h +@@ -34,7 +34,11 @@ + # define SM_CONF_SHM 1 + #endif /* SM_CONF_SHM */ + #ifndef SM_CONF_SEM ++#if __FreeBSD_version < 1200059 + # define SM_CONF_SEM 1 ++#else ++# define SM_CONF_SEM 2 ++#endif + #endif /* SM_CONF_SEM */ + #ifndef SM_CONF_MSG + # define SM_CONF_MSG 1 Property changes on: head/mail/sendmail/files/patch-include_sm_os_sm__os__freebsd.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/mail/sid-milter/files/patch-include_sm_os_sm__os__freebsd.h =================================================================== --- head/mail/sid-milter/files/patch-include_sm_os_sm__os__freebsd.h (nonexistent) +++ head/mail/sid-milter/files/patch-include_sm_os_sm__os__freebsd.h (revision 463452) @@ -0,0 +1,14 @@ +--- include/sm/os/sm_os_freebsd.h.orig ++++ include/sm/os/sm_os_freebsd.h +@@ -34,7 +34,11 @@ + # define SM_CONF_SHM 1 + #endif /* SM_CONF_SHM */ + #ifndef SM_CONF_SEM ++#if __FreeBSD_version < 1200059 + # define SM_CONF_SEM 1 ++#else ++# define SM_CONF_SEM 2 ++#endif + #endif /* SM_CONF_SEM */ + #ifndef SM_CONF_MSG + # define SM_CONF_MSG 1 Property changes on: head/mail/sid-milter/files/patch-include_sm_os_sm__os__freebsd.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/misc/buffer/Makefile =================================================================== --- head/misc/buffer/Makefile (revision 463451) +++ head/misc/buffer/Makefile (revision 463452) @@ -1,25 +1,26 @@ # Created by: Joao Carlos Mendes Luis # $FreeBSD$ PORTNAME= buffer PORTVERSION= 1.19 CATEGORIES= misc MASTER_SITES= GENTOO \ http://www.mondorescue.org/download/MondoCD/TGZS/ MAINTAINER= ports@FreeBSD.org COMMENT= Buffer sporadic I/O for faster tape and pipe throughput USES= tar:tgz PLIST_FILES= bin/buffer \ man/man1/buffer.1.gz +CFLAGS+= -D_WANT_SEMUN post-patch: @${REINPLACE_CMD} -E \ -e 's|^(CC[[:space:]]*=).*$$|\1${CC}|' \ -e 's|^(CFLAGS[[:space:]]*=).*$$|\1${CFLAGS}|' \ -e 's|^(INSTBIN[[:space:]]*=).*$$|\1${STAGEDIR}${PREFIX}/bin|' \ -e 's|^(INSTMAN[[:space:]]*=).*$$|\1${STAGEDIR}${MAN1PREFIX}/man/man1|' \ ${WRKSRC}/Makefile .include Index: head/multimedia/py-kaa-base/Makefile =================================================================== --- head/multimedia/py-kaa-base/Makefile (revision 463451) +++ head/multimedia/py-kaa-base/Makefile (revision 463452) @@ -1,22 +1,23 @@ # Created by: J.R. Oldroyd # $FreeBSD$ PORTNAME= kaa-base PORTVERSION= 0.6.0 PORTREVISION= 9 CATEGORIES= multimedia python MASTER_SITES= SF/freevo/${PORTNAME}/${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= fbsd@opal.com COMMENT= Kaa Media Repository BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2.py:textproc/py-libxml2@${FLAVOR} \ ${PYTHON_SITELIBDIR}/pygame/__init__.py:devel/py-game@${FLAVOR} RUN_DEPENDS:= ${BUILD_DEPENDS} USES= python:2.7 USE_GNOME= glib20 USE_PYTHON= distutils autoplist +CFLAGS+= -D_WANT_SEMUN .include Index: head/net-mgmt/sdig/Makefile =================================================================== --- head/net-mgmt/sdig/Makefile (revision 463451) +++ head/net-mgmt/sdig/Makefile (revision 463452) @@ -1,33 +1,34 @@ # Created by: Russell A. Jackson # $FreeBSD$ PORTNAME= sdig PORTVERSION= 0.45 PORTREVISION= 1 CATEGORIES= net-mgmt MASTER_SITES= SF \ ZI MAINTAINER= zi@FreeBSD.org COMMENT= Translate IP/DNS/WINS/MAC address into port description LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp USES= gmake GNU_CONFIGURE= yes +CFLAGS+= -D_WANT_SEMUN PLIST_FILES= bin/sdig etc/sdig.conf etc/mactable man/man5/sdig.conf.5.gz \ man/man8/sdig.8.gz post-patch: @${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' ${WRKSRC}/sdig.conf @${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' ${WRKSRC}/sdig.conf.5 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/sdig ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/sdig.conf ${STAGEDIR}${PREFIX}/etc ${INSTALL_DATA} ${WRKSRC}/mactable ${STAGEDIR}${PREFIX}/etc ${INSTALL_MAN} ${WRKSRC}/sdig.8 ${STAGEDIR}${PREFIX}/man/man8 ${INSTALL_MAN} ${WRKSRC}/sdig.conf.5 ${STAGEDIR}${PREFIX}/man/man5 .include Index: head/net-p2p/monero-cli/Makefile =================================================================== --- head/net-p2p/monero-cli/Makefile (revision 463451) +++ head/net-p2p/monero-cli/Makefile (revision 463452) @@ -1,48 +1,49 @@ # Created by: Vasil Dimov # $FreeBSD$ PORTNAME= monero-cli PORTVERSION= 0.11.1.0 DISTVERSIONPREFIX= v PORTREVISION= 2 CATEGORIES= net-p2p finance MAINTAINER= vd@FreeBSD.org COMMENT= Private, secure, untraceable, decentralised digital currency (CLI) LICENSE= BSD3CLAUSE 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 \ libunwind.so:devel/libunwind \ libzmq.so:net/libzmq4 BUILD_DEPENDS= ${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 +CFLAGS+= -D_WANT_SEMUN OPTIONS_DEFINE= DOXYGEN DOXYGEN_BUILD_DEPENDS= dot:graphics/graphviz \ doxygen:devel/doxygen DOXYGEN_CMAKE_BOOL= BUILD_DOCUMENTATION USE_RC_SUBR= monerod USERS= monero GROUPS= monero PLIST_FILES= bin/monerod \ bin/monero-wallet-cli \ bin/monero-wallet-rpc .include Index: head/sysutils/freeipmi/Makefile =================================================================== --- head/sysutils/freeipmi/Makefile (revision 463451) +++ head/sysutils/freeipmi/Makefile (revision 463452) @@ -1,67 +1,68 @@ # Created by: Dmitry Frolov # $FreeBSD$ PORTNAME= freeipmi PORTVERSION= 1.5.7 CATEGORIES= sysutils MASTER_SITES= GNU \ http://ftp.gluster.com/pub/${PORTNAME}/${PORTVERSION}/ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Library and tools to support IPMI-capable hardware LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_aarch64= invokes x86 assembler BROKEN_armv6= invokes x86 assembler BROKEN_armv7= invokes x86 assembler BROKEN_mips= invokes x86 assembler BROKEN_mips64= invokes x86 assembler BROKEN_sparc64= invokes x86 assembler BROKEN_powerpc64= invokes x86 assembler LIB_DEPENDS= libargp.so:devel/argp-standalone \ libgcrypt.so:security/libgcrypt OPTIONS_DEFINE= DEBUG DOCS IOPERM IOPERM_DESC= Use i386_set_ioperm CONFIGURE_ARGS= --disable-init-scripts \ --sysconfdir=${ETCDIR} \ --with-ipmi-monitoring-sdr-cache-dir=${CACHE_DIR}/ipmimonitoringsdrcache \ --with-ipmiseld-cache-dir=${CACHE_DIR}/ipmiseld \ --with-pkgconfig-dir=${PREFIX}/libdata/pkgconfig CONFIGURE_ENV= PTHREAD_LIBS=-lpthread ac_cv_path_CPP=${CPP} GNU_CONFIGURE= yes USE_LDCONFIG= yes USES= gmake libtool localbase shebangfix +CFLAGS+= -D_WANT_SEMUN INFO= freeipmi-faq PLIST_SUB= CACHE_DIR=${CACHE_DIR} PORTDOCS= * CACHE_DIR?= /var/db/${PORTNAME} SHEBANG_FILES= contrib/ganglia/ganglia_ipmi_sensors.pl \ contrib/nagios/nagios_ipmi_sensors.pl \ contrib/pet/check_rmcpping \ contrib/pet/petalert.pl DEBUG_CONFIGURE_ARGS= --enable-debug --enable-trace DEBUG_INSTALL_TARGET= install DEBUG_INSTALL_TARGET_OFF= install-strip IOPERM_CPPFLAGS= -DUSE_IOPERM post-patch: @${FIND} ${WRKSRC} -name '*.man' -o -name '*.pre.in' | ${XARGS} -I % ${REINPLACE_CMD} -e '/^\.\\\"/ s|$$|"|' % @${REINPLACE_CMD} \ -e '/^FREEIPMI_SYSCONFDIR/ s|/freeipmi/$$||' \ -e '/FREEIPMI_CONFIG_FILE_DEFAULT_TMP1=/ s|freeipmi.conf|&.sample|' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|\($$(LN_S) -f \)$$(sbindir)/|\1|' ${WRKSRC}/*/Makefile.in post-install: ${MKDIR} -m 0700 -p ${STAGEDIR}${CACHE_DIR}/ipmimonitoringsdrcache/ ${STAGEDIR}${CACHE_DIR}/ipmiseld/ ${STAGEDIR}/var/lib/freeipmi/ ${STAGEDIR}/var/run/freeipmi/ .include Index: head/sysutils/symon/Makefile =================================================================== --- head/sysutils/symon/Makefile (revision 463451) +++ head/sysutils/symon/Makefile (revision 463452) @@ -1,68 +1,69 @@ # Created by: Ulrich Spoerlein # $FreeBSD$ PORTNAME= symon PORTVERSION= 2.87 CATEGORIES= sysutils MASTER_SITES= http://wpd.home.xs4all.nl/symon/philes/ \ LOCAL/uqs MAINTAINER= uqs@FreeBSD.org COMMENT= Performance and information monitoring tool SUB_FILES= pkg-message USES= groff perl5 shebangfix SHEBANG_FILES= client/getsymonitem.pl USE_PERL5= build MAKE_JOBS_UNSAFE= yes +CFLAGS+= -D_WANT_SEMUN USERS= _symon GROUPS= _symon # Synonym for WITHOUT_SYMUX .if defined(WITHOUT_RRD) WITHOUT_SYMUX= yes .endif .if !defined(WITHOUT_SYMUX) LIB_DEPENDS+= librrd.so:databases/rrdtool .endif .if defined(WITHOUT_SYMUX) && defined(WITHOUT_SYMON) IGNORE= you have defined both WITHOUT_SYMUX or WITHOUT_RRD *and* WITHOUT_SYMON .endif SUBDIR= lib .if !defined(WITHOUT_SYMON) SUBDIR+= symon PLIST_SUB+= SYMON="" USE_RC_SUBR+= symon .else PLIST_SUB+= SYMON="@comment " .endif .if !defined(WITHOUT_SYMUX) SUBDIR+= symux PLIST_SUB+= SYMUX="" USE_RC_SUBR+= symux .else PLIST_SUB+= SYMUX="@comment " .endif SUBDIR+= client MAKE_ARGS+= SUBDIR="${SUBDIR}" RRDDIR="${LOCALBASE}" \ SYSCONFDIR="${PREFIX}/etc" PREFIX="${STAGEDIR}/${PREFIX}" .include post-extract: @${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC} post-patch: # We need to teach symon about mbstat changes/removal in r253351 and r253361. @${RM} ${WRKSRC}/platform/FreeBSD/sm_mbuf.c .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100070 @${REINPLACE_CMD} 's|altq/|net/&|' ${WRKSRC}/platform/FreeBSD/sm_pfq.c .endif .include Index: head/www/mod_cband/files/patch-src_mod__cband.c =================================================================== --- head/www/mod_cband/files/patch-src_mod__cband.c (nonexistent) +++ head/www/mod_cband/files/patch-src_mod__cband.c (revision 463452) @@ -0,0 +1,27 @@ +--- src/mod_cband.c.orig ++++ src/mod_cband.c +@@ -56,6 +56,9 @@ + #include + #include + #include ++#ifdef __FreeBSD__ ++#include ++#endif + #include + + #include "mod_cband.h" +@@ -74,6 +77,14 @@ + } + #endif + ++#if defined(__FreeBSD__) && __FreeBSD_version >= 1200059 ++union semun { ++ int val; /* value for SETVAL */ ++ struct semid_ds *buf; /* buffer for IPC_STAT & IPC_SET */ ++ u_short *array; /* array for GETALL & SETALL */ ++}; ++#endif ++ + static mod_cband_config_header *config = NULL; + static const char mod_cband_filter_name[] = "CBAND_FILTER"; + ap_filter_rec_t *mod_cband_output_filter_handle; Property changes on: head/www/mod_cband/files/patch-src_mod__cband.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property