*/*: Fix build with llvm16 on 13.2-STABLE
As like as HEAD(14.0-RELEASE) llvm16 was merged in base for 13.2-STABLE with the OSVERSION 1302507. - Utilize USE_CXXSTD=c++14 or similar solution where applicable - Update conditionals to addtionally check for OSVERSION greater than 1302507 and less than 1400000 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
dbe06d2da8
commit
95274bf4f9
|
@ -38,7 +38,7 @@ GLIB_SCHEMAS= org.gnome.caribou.gschema.xml \
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ OPTIONS_DEFINE= DOCS
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ USES= gem
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types"
|
||||
.endif
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ PLIST_FILES= lib/gstreamer-1.0/libgstsndio.so
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -16,20 +16,13 @@ LIB_DEPENDS= libFLAC.so:audio/flac
|
|||
CONFLICTS= osalp-0.7.*
|
||||
|
||||
USES= cpe pathfix pkgconfig tar:xz libtool
|
||||
USE_CXXSTD= c++14
|
||||
CPE_PRODUCT= audiofile
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
@${REINPLACE_CMD} -e 's|std::unary_function|std::__unary_function|' \
|
||||
${WRKSRC}/libaudiofile/modules/SimpleModule.h
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libaudiofile.so.1
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -31,7 +31,7 @@ DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@ LICENSE= GPLv2
|
|||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= autoreconf libtool tar:bz2
|
||||
USE_CXXSTD= c++14
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
|
@ -24,10 +25,4 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|||
|
||||
CONFIGURE_ARGS_i386= --enable-optendian --enable-optfixpoint
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
CPPFLAGS+= -Dregister=
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -20,7 +20,7 @@ USE_GNUSTEP= base gui back build
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -88,9 +88,9 @@ X11_PLIST_SUB_OFF= DESKTOP='@comment ' \
|
|||
|
||||
TIMIDITY_CFG= ${LOCALBASE}/share/timidity/timidity.cfg
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
@ -99,4 +99,4 @@ post-install:
|
|||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ocp/*.so
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ocp/autoload/*.so
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -23,11 +23,10 @@ PLIST_FILES= bin/play man/ja/man1/play.1.gz
|
|||
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=int-conversion
|
||||
.endif
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
.for file in play_audio.c mixer_ctl.c encode_sun.c speed.c
|
||||
|
|
|
@ -14,6 +14,7 @@ LICENSE= GPLv2+
|
|||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= sdl
|
||||
USE_CXXSTD= c++14
|
||||
USE_SDL= sdl
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
|
@ -21,12 +22,6 @@ OPTIONS_DEFINE= DOCS
|
|||
OPTIONS_SUB= yes
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
CPPFLAGS+= -Dregister=
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ VORBIS_ALL_TARGET= all libsnackogg.so
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -35,11 +35,10 @@ OPTIONS_DEFINE= DOCS
|
|||
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=int-conversion
|
||||
.endif
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
|
|
|
@ -49,11 +49,10 @@ DATAFILES= BLOSUM30.bla BLOSUM45.bla BLOSUM62.bla BLOSUM80.bla aa.rnd \
|
|||
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=int-conversion
|
||||
.endif
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${FIND} ${BUILD_WRKSRC} -name "makefile" | ${XARGS} \
|
||||
|
|
|
@ -55,7 +55,7 @@ DEV_HISIM2_LICENSE= HISIML
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=int-conversion
|
||||
.endif
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ CFLAGS+= -Wno-error=return-type
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -36,10 +36,10 @@ OPENGRAM_LM_TAR= lm_sc.arpa-20220810.tar.xz
|
|||
OPENGRAM_DICT_TAR= dict-20220810.tar.xz
|
||||
TABLE_DICT_TAR= table.tar.gz
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160
|
||||
@${REINPLACE_CMD} -e 's|std::binary_function|std::__binary_function|' \
|
||||
${WRKSRC}/src/libime/core/kenlm/lm/trie_sort.hh \
|
||||
${WRKSRC}/src/libime/core/kenlm/util/joint_sort.hh \
|
||||
|
@ -52,4 +52,4 @@ post-extract:
|
|||
${CP} ${DISTDIR}/${DIST_SUBDIR}/${OPENGRAM_DICT_TAR} ${WRKSRC}/data
|
||||
${CP} ${DISTDIR}/${DIST_SUBDIR}/${TABLE_DICT_TAR} ${WRKSRC}/data
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -21,7 +21,7 @@ OPTIONS_DEFINE= DOCS
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ DOCS_JA= ChangeLog.ja README.ja
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -78,11 +78,9 @@ post-patch:
|
|||
${ECHO} 'LIBS+= -lcrypto' >>${WRKSRC}/src/pdf/pdf.pro
|
||||
${MKDIR} ${WRKSRC}/build/app ${WRKSRC}/build/qt \
|
||||
${WRKSRC}/build/wkhtmltox
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
${REINPLACE_CMD} -e "s|register int|int|g" \
|
||||
${PATCH_WRKSRC}/src/corelib/kernel/qcore_unix_p.h
|
||||
${REINPLACE_CMD} -e "s|register UWORD32|UWORD32|g" \
|
||||
${PATCH_WRKSRC}/../qt-5db36ec/src/3rdparty/md5/md5.cpp
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
@${FIND} ${PATCH_WRKSRC}/../qt-5db36ec -name "*.cpp" -o -name "*.h" | \
|
||||
${XARGS} ${REINPLACE_CMD} -e 's|register ||g'
|
||||
.endif
|
||||
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ OPTIONS_DEFINE= DOCS
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ USES= cran:auto-plist,compiles
|
|||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
@${REINPLACE_CMD} -e 's|PKG_CPPFLAGS=|PKG_CPPFLAGS=-Wno-error=enum-constexpr-conversion |g' \
|
||||
${WRKSRC}/src/Makevars
|
||||
.endif
|
||||
|
|
|
@ -98,7 +98,7 @@ CFLAGS+= -I${JAVA_HOME}/include -I${JAVA_HOME}/include/freebsd
|
|||
CONFIGURE_ARGS+= --without-java
|
||||
.endif
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -11,26 +11,25 @@ LICENSE= GPLv2
|
|||
|
||||
BUILD_DEPENDS= p5-XML-Parser>=0:textproc/p5-XML-Parser
|
||||
|
||||
USES= gmake gnome iconv libtool pathfix perl5 pkgconfig
|
||||
USES= gmake gnome iconv libtool localbase:ldflags pathfix perl5 pkgconfig
|
||||
USE_GNOME= intltool
|
||||
GNU_CONFIGURE= yes
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
OPTIONS_DEFINE= MANPAGES NLS
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
MANPAGES_BUILD_DEPENDS= docbook-to-man:textproc/docbook-to-man \
|
||||
docbook2man:textproc/docbook-utils
|
||||
NLS_CONFIGURE_OFF= --disable-nls
|
||||
NLS_USES= gettext
|
||||
INSTALL_TARGET= install-strip
|
||||
NLS_CONFIGURE_OFF= --disable-nls
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ OPTIONS_DEFINE= DOCS EXAMPLES
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types"
|
||||
.endif
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ OPTIONS_DEFINE= DOCS
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types"
|
||||
.endif
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ GNU_CONFIGURE= yes
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -14,6 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|||
CONFLICTS= pccts
|
||||
|
||||
USES= compiler:c++11-lang gmake
|
||||
USE_CXXSTD= c++14
|
||||
USE_JAVA= yes
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
|
@ -35,17 +36,9 @@ PORTDOCS= ANTLRException.gif closure.gif cpp-runtime.html \
|
|||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-extract:
|
||||
(cd ${WRKSRC} && ${CP} antlr.jar antlrall.jar)
|
||||
|
||||
post-patch:
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
@${REINPLACE_CMD} -e 's|binary_function|__binary_function|' \
|
||||
${WRKSRC}/lib/cpp/antlr/CharScanner.hpp
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${JAVAJARDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/antlr.jar ${STAGEDIR}${JAVAJARDIR}
|
||||
|
|
|
@ -29,7 +29,7 @@ PORTDOCS= *
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ MESON_ARGS= -Dtests=false -Dsamples=false
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ OPTIONS_DEFINE= DOCS
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CPPFLAGS+= -Wno-error=enum-constexpr-conversion
|
||||
.endif
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ OPTIONS_DEFINE= DOCS EXAMPLES
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CPPFLAGS+= -Dregister=
|
||||
.endif
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@ USE_LDCONFIG= yes
|
|||
USE_PERL5= build
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_CXXSTD= c++14
|
||||
CONFIGURE_ARGS= --disable-osx --disable-extra-warnings --disable-profiling \
|
||||
--disable-debug --enable-debug-support --disable-trace \
|
||||
--enable-text --enable-gettid --enable-network \
|
||||
|
@ -63,14 +64,10 @@ X11_CONFIGURE_ENABLE= x11
|
|||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
||||
.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 150
|
||||
CFLAGS+= -Wno-error=int-conversion
|
||||
.endif
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
CPPFLAGS+= -Dregister=
|
||||
.endif
|
||||
|
||||
# assembly files use old split syntax which clang doesn't like
|
||||
.if ${ARCH:Marmv?} && ${COMPILER_TYPE} == "clang"
|
||||
BUILD_DEPENDS+= as:devel/binutils
|
||||
|
|
|
@ -11,6 +11,7 @@ LICENSE= GPLv3+
|
|||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= makeinfo tar:xz
|
||||
USE_CXXSTD= c++14
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
|
@ -31,14 +32,6 @@ DOC_EXAMPLES= README.example cmdline1.c cmdline1.h cmdline2.c cmdline2.h \
|
|||
TESTS_EXAMPLES= test_manual_help.c test_manual_help_cmd.c \
|
||||
test_manual_help_cmd.ggo test_manual_help_cmd.h
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
@${REINPLACE_CMD} -e 's|std::unary_function|std::__unary_function|' \
|
||||
${WRKSRC}/src/gm_utils.h
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 \
|
||||
${STAGEDIR}${MAN1PREFIX}/man/man1/
|
||||
|
|
|
@ -22,7 +22,7 @@ OPTIONS_DEFINE= EXAMPLES
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ DEFAULT_LIBVERSION= 1.1.0
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CPPFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -19,6 +19,7 @@ MAKE_JOBS_UNSAFE= yes
|
|||
LIB_DEPENDS= libexpat.so:textproc/expat2 \
|
||||
libmcpp.so:devel/mcpp
|
||||
USES+= compiler:c++11-lang ssl
|
||||
USE_CXXSTD= c++11
|
||||
.else
|
||||
LIB_VRS= ${PORTVERSION:R:S|.||g}
|
||||
LIB_DEPENDS+= libIce.so.${LIB_VRS}:devel/ice
|
||||
|
@ -60,9 +61,6 @@ MAKE_ENV+= NOTESTS=yes
|
|||
|
||||
.if ${SLAVE_PORT} == "no"
|
||||
MAKE_ENV+= LD_LIBRARY_PATH=${WRKSRC}/cpp/lib:$$LD_LIBRARY_PATH
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
USE_CXXSTD= c++11
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
|
|
@ -29,6 +29,7 @@ OPTIONS_DEFINE?= DEBUG STATIC TEST
|
|||
OPTIONS_SUB= yes
|
||||
|
||||
USES+= compiler:c++14-lang iconv gmake
|
||||
USE_CXXSTD= c++14
|
||||
DEBUG_MAKE_ENV= OPTIMIZE=no
|
||||
TEST_ALL_TARGET_OFF= srcs
|
||||
MAKE_ARGS+= V=1
|
||||
|
@ -116,23 +117,6 @@ post-patch:
|
|||
${WRKSRC}/scripts/Util.py
|
||||
@${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g;' \
|
||||
${WRKSRC}/scripts/Glacier2Util.py
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
@${REINPLACE_CMD} -e 's|binary_function|__binary_function|g ; s|unary_function|__unary_function|g' \
|
||||
${WRKSRC}/cpp/include/Ice/Proxy.h \
|
||||
${WRKSRC}/cpp/include/IceUtil/Functional.h \
|
||||
${WRKSRC}/cpp/src/IceGrid/AdapterCache.cpp \
|
||||
${WRKSRC}/cpp/src/IceGrid/AllocatableObjectCache.cpp \
|
||||
${WRKSRC}/cpp/src/IceGrid/Database.cpp \
|
||||
${WRKSRC}/cpp/src/IceGrid/DescriptorHelper.cpp \
|
||||
${WRKSRC}/cpp/src/IceGrid/NodeCache.cpp \
|
||||
${WRKSRC}/cpp/src/IceGrid/ObjectCache.cpp \
|
||||
${WRKSRC}/cpp/src/IceGrid/ServerCache.cpp \
|
||||
${WRKSRC}/cpp/src/IceGrid/ServerI.cpp \
|
||||
${WRKSRC}/cpp/src/IceGrid/Util.h \
|
||||
${WRKSRC}/cpp/src/IcePatch2/Calc.cpp \
|
||||
${WRKSRC}/cpp/src/IcePatch2Lib/Util.h \
|
||||
${WRKSRC}/cpp/src/Slice/Parser.h
|
||||
.endif
|
||||
|
||||
IS_JAILED_CMD= ${SYSCTL} -n security.jail.jailed
|
||||
JAILED_FILTER= --rfilter=IceDiscovery \
|
||||
|
|
|
@ -10,6 +10,7 @@ WWW= https://adplug.github.io/libbinio/
|
|||
LICENSE= LGPL21
|
||||
|
||||
USES= autoreconf compiler:c11 libtool pathfix
|
||||
USE_CXXSTD= c++14
|
||||
USE_GITHUB= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
|
@ -21,12 +22,6 @@ INSTALL_TARGET= install-strip
|
|||
|
||||
PORTSCOUT= skipv:start
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
CPPFLAGS+= -Dregister=
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|^\(SUBDIRS\ =\).*|\1 src|' ${WRKSRC}/Makefile.am
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ INSTALL_TARGET= install-strip
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ WWW= http://s11n.net/
|
|||
LICENSE= PD
|
||||
|
||||
USES= uidfix zip
|
||||
USE_CXXSTD= c++11
|
||||
USE_CXXSTD= c++14
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
PORTSCOUT= limitw:1,even
|
||||
|
@ -30,14 +30,6 @@ PLIST_SUB+= PROFILE=""
|
|||
post-extract:
|
||||
@${CP} ${PATCHDIR}/Makefile.bsd ${WRKSRC}/Makefile
|
||||
|
||||
post-patch:
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
@${REINPLACE_CMD} -e 's|auto_ptr|unique_ptr|' \
|
||||
${WRKSRC}/../include/s11n.net/s11n/algo.tpp \
|
||||
${WRKSRC}/../include/s11n.net/s11n/io/data_node_format.hpp \
|
||||
${WRKSRC}/../include/s11n.net/s11n/io/data_node_io.hpp
|
||||
.endif
|
||||
|
||||
pre-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/include/s11n.net
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/include/s11n.net/s11n
|
||||
|
|
|
@ -24,7 +24,7 @@ PLIST_FILES= include/libx86.h lib/libx86.a lib/libx86.so lib/libx86.so.1
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -83,7 +83,7 @@ INFO+= libquadmath
|
|||
.endif
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CPPFLAGS+= -Wno-error=increment-bool \
|
||||
-Dregister=
|
||||
.endif
|
||||
|
|
|
@ -45,7 +45,7 @@ OPTIONS_DEFINE= DOCS
|
|||
CFLAGS+= -DENVIRON=\"ENVIRON_64\" -DMP_INIT_SUPPORT=0
|
||||
.endif
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=dynamic-exception-spec
|
||||
.endif
|
||||
|
||||
|
|
|
@ -16,11 +16,7 @@ BUILD_DEPENDS= p5-Module-Build-XSUtil>0:devel/p5-Module-Build-XSUtil
|
|||
USES= perl5
|
||||
USE_PERL5= modbuild
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
CFLAGS+= -Dregister=
|
||||
.endif
|
||||
CFLAGS+= --std=c++14
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Compiler/Lexer/Lexer.so
|
||||
|
|
|
@ -18,7 +18,7 @@ MSGPACK_RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/msgpack.so:devel/pecl-m
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ DOS2UNIX_GLOB= *.py
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -20,11 +20,10 @@ USE_PYTHON= distutils autoplist
|
|||
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=int-conversion
|
||||
.endif
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
.endif
|
||||
|
||||
pre-patch:
|
||||
${INSTALL_DATA} ${FILESDIR}/setup.py ${WRKSRC}
|
||||
|
|
|
@ -38,7 +38,7 @@ PYDISTUTILS_SETUP+= --without-libyaml
|
|||
NO_ARCH= yes
|
||||
.endif
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ USES= gem
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types"
|
||||
.endif
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ USES= gem ncurses
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types"
|
||||
.endif
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ USES= gem
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types"
|
||||
.endif
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ PLIST_FILES= bin/posix-spawn-benchmark
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types"
|
||||
.endif
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ USES= gem
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types"
|
||||
.endif
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ PLIST_FILES= bin/rbtrace
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types"
|
||||
.endif
|
||||
|
||||
|
|
|
@ -15,6 +15,7 @@ GH_ACCOUNT= SFML
|
|||
GH_PROJECT= SFML
|
||||
|
||||
USES= cmake compiler:c++11-lang
|
||||
USE_CXXSTD= c++14
|
||||
CMAKE_ARGS= -DSFML_INSTALL_PKGCONFIG_FILES=ON \
|
||||
-DSFML_USE_SYSTEM_DEPS=ON
|
||||
USE_LDCONFIG= yes
|
||||
|
@ -58,14 +59,6 @@ DOXYGEN_IMPLIES= DOCS
|
|||
|
||||
EXAMPLES_CMAKE_BOOL= SFML_BUILD_EXAMPLES
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
@${REINPLACE_CMD} -e 's|auto_ptr|unique_ptr|' \
|
||||
${WRKSRC}/src/SFML/Audio/AudioDevice.cpp
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${RM} ${STAGEDIR}${PREFIX}/*.pc
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@ PGSQL_USES= pgsql
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CPPFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -41,11 +41,10 @@ ORIGWRKSRC= ${WRKDIR}/${DISTNAME}/src
|
|||
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
||||
CPPFLAGS+= -Wno-error=int-conversion
|
||||
.endif
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )
|
||||
CPPFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
.endif
|
||||
|
||||
pre-install:
|
||||
${RM} -r ${ORIGWRKSRC}/docs-tla/PLUGIN \
|
||||
|
|
|
@ -24,7 +24,7 @@ OPTIONS_DEFINE= DOCS
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -28,11 +28,10 @@ OPTIONS_DEFINE= DOCS
|
|||
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=int-conversion
|
||||
.endif
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|OSTYPE == |OSTYPE = |g' ${WRKSRC}/configure
|
||||
|
|
|
@ -19,7 +19,7 @@ SUB_FILES= pkg-message
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ XULRUNNER_CONFIGURE_OFF= --with-javascript=none
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ PLIST_FILES= bin/uzap man/man1/uzap.1.gz
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -36,11 +36,6 @@ DEBUGGER_HEAVY_DESC=Enable internal debugger with extra features
|
|||
DEBUGGER_ENABLE_CONFIGURE_ON= --enable-debug=yes
|
||||
DEBUGGER_HEAVY_CONFIGURE_ON= --enable-debug=heavy
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
CPPFLAGS+= -Dregister=
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's#\/usr\/share\/doc\/dosbox#${DOCSDIR}#g' \
|
||||
${WRKSRC}/docs/dosbox.1
|
||||
|
@ -49,6 +44,8 @@ do-install:
|
|||
${INSTALL_PROGRAM} ${WRKSRC}/src/dosbox ${STAGEDIR}${PREFIX}/bin/dosbox
|
||||
${INSTALL_DATA} ${WRKSRC}/src/dosbox.ico ${STAGEDIR}${PREFIX}/share/pixmaps/
|
||||
${INSTALL_MAN} ${WRKSRC}/docs/dosbox.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
|
||||
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
|
|
|
@ -50,10 +50,9 @@ SDL_MIXER_CFLAGS= -DOGG_SUPPORT
|
|||
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=int-conversion
|
||||
.endif
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -65,7 +65,7 @@ PLIST_FILES= bin/qemu-system-morello \
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=int-conversion
|
||||
.endif
|
||||
|
||||
|
|
|
@ -57,9 +57,9 @@ CLIENT_USE= GL=glu XORG=x11,xxf86dga,xxf86vm
|
|||
|
||||
LIBDIR= ${PREFIX}/lib/${PORTNAME}
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 160
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
@ -91,4 +91,4 @@ do-install-DEDICATED-on:
|
|||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}-ded \
|
||||
${STAGEDIR}${PREFIX}/bin/${PORTNAME}-ded
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -35,22 +35,21 @@ MAKE_ARGS= ignore_unknown_variables=1 sdl2=1
|
|||
PLIST_FILES= bin/d1x-rebirth \
|
||||
bin/d2x-rebirth
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} != powerpc64 && ${ARCH} != riscv64
|
||||
MAKE_ARGS+= lto=1
|
||||
.endif
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
||||
.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 150
|
||||
CPPFLAGS+= -Wno-error=unused-but-set-parameter -Wno-error=unused-but-set-variable
|
||||
.endif
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${COMPILER_VERSION} >= 160
|
||||
CPPFLAGS+= -Wno-error=unused-result
|
||||
.endif
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/d1x-rebirth \
|
||||
${STAGEDIR}${PREFIX}/bin/d2x-rebirth
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -34,11 +34,10 @@ NETHACKCONFIG= ${FILESDIR}/x-config
|
|||
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=int-conversion
|
||||
.endif
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -i '' -e "s|<malloc.h>|<stdlib.h>|" \
|
||||
|
|
|
@ -44,7 +44,7 @@ FREETYPE_CONFIG?= pkg-config freetype2
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -14,6 +14,7 @@ LICENSE= GPLv3+
|
|||
USES= cpe shebangfix
|
||||
CPE_VENDOR= gnu
|
||||
CPE_PRODUCT= chess
|
||||
USE_CXXSTD= c++14
|
||||
|
||||
SHEBANG_FILES= doc/quotes.rb
|
||||
|
||||
|
@ -30,27 +31,18 @@ OPENING_BOOK_DESC= Install opening book (25 MB download)
|
|||
|
||||
NLS_USES= gettext
|
||||
NLS_CONFIGURE_ENABLE= nls
|
||||
OPENING_BOOK_DISTFILES= book_1.02.pgn.gz
|
||||
OPENING_BOOK_EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MOPENING_BOOK}
|
||||
DISTFILES+= book_1.02.pgn.gz
|
||||
EXTRACT_ONLY+= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
|
||||
.endif
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
CPPFLAGS+= -Dregister=
|
||||
.endif
|
||||
|
||||
post-build:
|
||||
.if ${PORT_OPTIONS:MOPENING_BOOK}
|
||||
post-build-OPENING_BOOK-on:
|
||||
zcat ${DISTDIR}/book_1.02.pgn.gz > ${WRKSRC}/src/book.pgn
|
||||
cd ${WRKSRC}/src && ( ${ECHO} book add book.pgn; sleep 1; ${ECHO} quit ) | ./gnuchess
|
||||
@${REINPLACE_CMD} -e '/Book =/s/false/true/' ${WRKSRC}/src/gnuchess.ini
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
cd ${STAGEDIR}${PREFIX}/bin && ${LN} -f gnuchess gnuchessx
|
||||
|
||||
post-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/NEWS ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
|
||||
${RM} ${STAGEDIR}${DOCSDIR}/gnuchess.info
|
||||
|
|
|
@ -16,7 +16,7 @@ USE_GNUSTEP= back build
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ GNU_CONFIGURE= yes
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ USE_GNOME= cairo gdkpixbuf2 gtk30
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -17,18 +17,17 @@ USE_LDCONFIG= yes
|
|||
|
||||
PLIST_FILES= lib/libretro/bluemsx_libretro.so
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
||||
.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 150
|
||||
CFLAGS+= -Wno-error=int-conversion
|
||||
.endif
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${COMPILER_VERSION} >= 160
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro;
|
||||
${INSTALL_LIB} ${WRKSRC}/bluemsx_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro;
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -81,7 +81,7 @@ PLIST_SUB+= HACKLINK=""
|
|||
PLIST_SUB+= HACKLINK="@comment "
|
||||
.endif
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ OPENGL_CONFIGURE_ENABLE= gl
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@ OPTIONS_DEFINE= DOCS
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ CPPFLAGS+= -DGLX_GLXEXT_LEGACY
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ NLS_LIBS= -lintl
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ SCORES_DIR?= ${DATADIR}/scores
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ CFLAGS+= -Wno-error=return-type
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ PLIST_FILES= bin/xroach man/man6/xroach.6.gz
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME}
|
|||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
@${REINPLACE_CMD} -e 's|CFLAGS=|CFLAGS=-Wno-error=incompatible-function-pointer-types |g' \
|
||||
${WRKSRC}/Makefile
|
||||
.endif
|
||||
|
|
|
@ -17,6 +17,7 @@ LIB_DEPENDS= libfreetype.so:print/freetype2
|
|||
|
||||
USES= autoreconf cpe gmake libtool pathfix pkgconfig sdl xorg
|
||||
CPE_VENDOR= antigrain
|
||||
USE_CXXSTD= c++14
|
||||
USE_LDCONFIG= yes
|
||||
USE_SDL= sdl
|
||||
USE_XORG= x11
|
||||
|
@ -25,12 +26,6 @@ GNU_CONFIGURE= yes
|
|||
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
CPPFLAGS+= -Dregister=
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} 's/_LDFLAGS/_LDADD/' ${WRKSRC}/examples/Makefile.am
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ PLIST_FILES= include/AntTweakBar.h \
|
|||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
@${REINPLACE_CMD} -e 's|public binary_function|public __binary_function|' \
|
||||
${WRKSRC}/TwMgr.cpp
|
||||
.endif
|
||||
|
|
|
@ -13,6 +13,7 @@ LICENSE= LGPL21+
|
|||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
USES= cmake pkgconfig
|
||||
USE_CXXSTD= c++14
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= DentonW
|
||||
GH_PROJECT= DevIL
|
||||
|
@ -62,12 +63,6 @@ SQUISH_CMAKE_BOOL= IL_USE_DXTC_SQUISH
|
|||
#NVTT_CMAKE_BOOL= IL_USE_DXTC_NVIDIA
|
||||
CMAKE_ARGS+= -DIL_USE_DXTC_NVIDIA=0
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
CXXFLAGS+= -Dregister=
|
||||
.endif
|
||||
|
||||
post-install-DOCS-on:
|
||||
cd ${WRKSRC}/DevIL-docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/
|
||||
cd ${WRKSRC}/DevIL && ${INSTALL_DATA} CREDITS NEWS README.md TODO ${STAGEDIR}${DOCSDIR}/
|
||||
|
|
|
@ -43,7 +43,7 @@ CONFIGURE_ARGS+= --disable-libemf
|
|||
PLIST_SUB+= WMF="@comment "
|
||||
#.endif
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -14,6 +14,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
|
|||
LIB_DEPENDS= libtiff.so:graphics/tiff
|
||||
|
||||
USES= cpe gmake iconv jpeg libtool
|
||||
USE_CXXSTD= c++14
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
CPE_VENDOR= djvulibre_project
|
||||
|
@ -38,12 +39,6 @@ DESKTOPFILES_DESC= Install icons and mime types
|
|||
DESKTOPFILES_CONFIGURE_ENABLE= desktopfiles
|
||||
DESKTOPFILES_USES= gnome
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
CPPFLAGS+= -Dregister=
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
# Remove custom optimization compiler flags
|
||||
@${REINPLACE_CMD} -e '/-[Og]\*)/d ; \
|
||||
|
|
|
@ -32,7 +32,7 @@ PLIST_SUB+= PROFILE="@comment "
|
|||
PLIST_SUB+= PROFILE=""
|
||||
.endif
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ OPTIONS_DEFINE= DOCS
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ CONFIGURE_ARGS+=--disable-gles1 --disable-osmesa --disable-vg --disable-wayland
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -37,8 +37,8 @@ MAKE_ARGS+= ON_GNU_OPTIMIZER_FLAGS="-g -fPIC"
|
|||
.endif
|
||||
|
||||
post-patch:
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
@${REINPLACE_CMD} -e 's|D_GNU_SOURCE -I|D_GNU_SOURCE -Dregister= -I|g' \
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
@${REINPLACE_CMD} -e 's|D_GNU_SOURCE -I|D_GNU_SOURCE --std=c++14 -I|g' \
|
||||
${WRKSRC}/makefile
|
||||
.endif
|
||||
|
||||
|
|
|
@ -21,11 +21,10 @@ ADDITIONAL_OBJCFLAGS+= -Dlog2=logb
|
|||
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=int-conversion
|
||||
.endif
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/GNUstep/System/Applications/Pixen.app/Pixen
|
||||
|
|
|
@ -14,6 +14,7 @@ LICENSE= GPLv3
|
|||
LIB_DEPENDS= libpng.so:graphics/png
|
||||
|
||||
USES= gmake libtool localbase:ldflags xorg # parallel builds are broken with bmake(1)
|
||||
USE_CXXSTD= c++14
|
||||
USE_LDCONFIG= yes
|
||||
USE_XORG= ice sm x11 xaw xext xmu xt
|
||||
|
||||
|
@ -24,10 +25,4 @@ TEST_TARGET= check
|
|||
|
||||
INFO= libxmi plotutils
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
CPPFLAGS+= -Dregister=
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -15,6 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
|
|||
LIB_DEPENDS= libboost_thread.so:devel/boost-libs
|
||||
|
||||
USES= autoreconf:build compiler:c11 gmake
|
||||
USE_CXXSTD= c++14
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= POV-Ray
|
||||
|
||||
|
@ -97,10 +98,6 @@ post-patch:
|
|||
${REINPLACE_CMD} -e 's|@@EXAMPLESDIR@@|${EXAMPLESDIR}|' \
|
||||
-e 's|@@ETCDIR@@|${ETCDIR}|' \
|
||||
${WRKSRC}/unix/povray.conf
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
@${REINPLACE_CMD} -e 's|auto_ptr|unique_ptr|' \
|
||||
${WRKSRC}/source/backend/render/trace.cpp
|
||||
.endif
|
||||
|
||||
pre-configure:
|
||||
cd ${WRKSRC}/unix && ./prebuild.sh
|
||||
|
|
|
@ -24,7 +24,7 @@ USE_PYTHON= autoplist concurrent distutils
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ TEST_TEST_TARGET= check
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ TOGL_INSTDIR= ${PREFIX}/lib/${DISTNAME}
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ PLUGIN_LIST= abot acro arcfour autocycle blowfish cavlink cdrom encrypt \
|
|||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue