All ports committers are allowed to commit to this file.
20160906:
AUTHOR: amdmi3@FreeBSD.org
Verbose build logs are now preferred and enabled by default for cmake,
ninja and GNU configure. Ports which still produce quiet build logs
(hiding actual commands) are strongly advised to switch to verbose logs.
20160824:
AUTHOR: mat@FreeBSD.org
# Additional variables that affect cmake behaviour:
#
# User defined variables:
# CMAKE_VERBOSE - Enable verbose build output
# Default: not set, unless BATCH or PACKAGE_BUILDING is defined
# CMAKE_NOCOLOR - Disable colour build output
# CMAKE_NINJA - Use ninja instead of make(1)
-DCMAKE_INSTALL_PREFIX:PATH="${CMAKE_INSTALL_PREFIX}" \
-DCMAKE_BUILD_TYPE:STRING="${CMAKE_BUILD_TYPE}" \
-DTHREADS_HAVE_PTHREAD_ARG:BOOL=YES \
-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=YES
-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=YES \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
CMAKE_INSTALL_PREFIX?= ${PREFIX}
.if defined(BATCH) || defined(PACKAGE_BUILDING)
CMAKE_VERBOSE= yes
CMAKE_NOCOLOR= yes
.endif
.if defined(CMAKE_VERBOSE)
CMAKE_ARGS+= -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
.if defined(CMAKE_NOCOLOR)
CMAKE_ARGS+= -DCMAKE_COLOR_MAKEFILE:BOOL=OFF
# Feature: ninja
# Usage: USES=ninja
# NINJA_VERBOSE - Enable verbose output.
# MAINTAINER: portmgr@FreeBSD.org
.if !defined(_INCLUDE_USES_NINJA_MK)
IGNORE= Incorrect 'USES+= ninja:${ninja_ARGS}' ninja takes no arguments
.if defined(NINJA_VERBOSE)
MAKE_ARGS+= -v
BUILD_DEPENDS+= ninja:devel/ninja
if [ ! -z "`${CONFIGURE_CMD} --help 2>&1 | ${GREP} -- '--mandir'`" ]; then \
_LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --mandir=${GNU_CONFIGURE_MANPREFIX}/man" ; \
fi ; \
if [ ! -z "`${CONFIGURE_CMD} --help 2>&1 | ${GREP} -- '--disable-silent-rules'`" ]; then \
_LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --disable-silent-rules" ; \
if [ ! -z "`${CONFIGURE_CMD} --help 2>&1 | ${GREP} -- '--infodir'`" ]; then \
_LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --infodir=${GNU_CONFIGURE_PREFIX}/${INFO_PATH}/${INFO_SUBDIR}" ; \
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g \
--disable-silent-rules \
--with-rmt=/etc/rmt
TEST_TARGET= check
USES= charsetfix cpe iconv:${STATIC_ARGS} localbase makeinfo tar:xz
CPE_VENDOR= gnu
CONFIGURE_ARGS= --program-prefix=g
--disable-silent-rules
CONFIGURE_ENV= DEFAULT_ARCHIVE=/dev/sa0 \
DEFAULT_RMT_COMMAND=/etc/rmt
# supply result to skip a test that will abort configure if run as root
PATHFIX_MAKEFILEIN= Makefile.am
USE_LDCONFIG= yes
CONFIGURE_ARGS= --disable-silent-rules \
CONFIGURE_ARGS= --program-suffix=sa
--program-suffix=sa
INSTALL_TARGET= install-strip
PORTDOCS= ChangeLog README AUTHORS TODO NEWS
USE_GCC= 4.8
USE_GNOME= intltool libgnomecanvas
CONFIGURE_ARGS= --enable-osspcm=/dev/dsp \
--enable-osspcm=/dev/dsp \
--enable-ossmidi=/dev/midi
--enable-sse \
--with-ogg="${LOCALBASE}" \
--disable-doxygen-docs \
--disable-thorough-tests \
--disable-xmms-plugin
USES= gettext gmake libtool localbase pathfix pkgconfig sqlite:3 tar:bzip2
CONFIGURE_ARGS= --disable-silent-rules --disable-udev --without-hal \
CONFIGURE_ARGS= --disable-udev --without-hal \
--with-html-dir="${DOCSDIR:H}"
USE_CSTD= gnu89
USE_GNOME= gdkpixbuf2 gtk20 intltool
WRKSRC= ${WRKDIR}/${PORTNAME}
CONFIGURE_ARGS= --disable-silent-rules
USES= autoreconf libtool pathfix
--- configure.orig 2014-12-06 19:58:24 UTC
+++ configure
@@ -2486,6 +2486,7 @@ case $enable_silent_rules in # (((
no) AM_DEFAULT_VERBOSITY=1;;
*) AM_DEFAULT_VERBOSITY=0;;
esac
+unset enableval
am_make=${MAKE-make}
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
USES= iconv libtool tar:xz
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
| --x-includes=* | --x-libraries=* | --with-3psw=* \
| --target=* | --with-runpath=* | --with-relative-runpath=* \
- | --help | --no-create | --no-recursion)
+ | --help | --no-create | --no-recursion | --localstatedir=* | --disable-silent-rules )
+ | --help | --no-create | --no-recursion | --localstatedir=* )
;;
* )
USES= bison libtool
CONFIGURE_ENV= ax_cv_c_compiler_vendor=gnu
CONFIGURE_ENV= USE_LIBS="-lusb" \
ac_cv_lib_usbpath_usb_path2devnum=no
PLIST_FILES= bin/dfu-prefix bin/dfu-suffix bin/dfu-util man/man1/${PORTNAME}.1.gz
CONFLICTS= rrdtool12-*
CONFIGURE_ARGS= --disable-tcl --disable-silent-rules
CONFIGURE_ARGS= --disable-tcl
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2
USE_RC_SUBR= rrdcached
CONFIGURE_ENV= GUILE_CFLAGS="$$(guile-config compile)" \
GUILE_LIBS="$$(guile-config link)"
INSTALLS_OMF= yes
libsigc-2.0.so:devel/libsigc++20 \
libmercator-0.3.so:devel/mercator
USES= libtool pathfix pkgconfig compiler:c++11-lib
USES= compiler:c11 desktop-file-utils gmake libtool pathfix pkgconfig tar:xz
CONFIGURE_ARGS= --disable-maintainer-mode \
--disable-maintainer-mode \
--enable-compile-warnings=no
USE_GNOME= glib20 gtk30 gtksourceview3 intlhack introspection
.if ${PORT_OPTIONS:MDEBUG}
CONFIGURE_ARGS+= --enable-debug=yes \
CONFIGURE_ARGS+= --enable-debug=yes
post-patch:
GH_ACCOUNT= llvm-mirror
GH_TAGNAME= 6d78407
USES= gmake python:2,build ninja
MAKE_ENV= MAKE=${GMAKE} DESTDIR=${STAGEDIR}
do-configure:
@cd ${WRKSRC} && ${PYTHON_CMD} configure.py ${CONFIGURE_ARGS} -g ninja \
--with-llvm-config=${LOCALBASE}/bin/llvm-config${LLVMVER} \
--pkgconfigdir=${PREFIX}/libdata/pkgconfig
--pkgconfigdir=${PREFIX}/libdata/pkgconfig \
--prefix=${PREFIX}
.include <bsd.port.mk>
USES= gmake libtool pathfix pkgconfig tar:xz
CONFIGURE_ARGS= --disable-silent-rules --with-socket-dir=${QB_SOCKET_DIR}
CONFIGURE_ARGS= --with-socket-dir=${QB_SOCKET_DIR}
OPTIONS_DEFINE= DOXYGEN
USES= libtool lua shebangfix zip
SHEBANG_FILES= src/constants
CONFIGURE_ARGS= --libdir=${LUA_MODLIBDIR} \
--libdir=${LUA_MODLIBDIR} \
--datadir=${LUA_MODSHAREDIR} \
--with-lua-suffix="${LUA_VER_STR}"
CONFIGURE_ENV= LUA_INCLUDE="-I${LUA_INCDIR}" \
LUA="${LOCALBASE}/bin/lua${LUA_VER_STR}"
MAKE_ARGS= POSIX_EXTRA_CFLAGS="" POSIX_EXTRA_LDFLAGS=""
PORTDOCS= *
LIB_DEPENDS= libwfmath-1.0.so:math/wfmath
USES= cpe charsetfix gmake tar:xz
CONFIGURE_ARGS= --program-prefix=g --disable-silent-rules
PLIST_FILES= bin/gpatch man/man1/gpatch.1.gz
LICENSE= GPLv2
USES= libtool
USES= libtool pathfix
USE_OPENSSL= yes
WITH_OPENSSL_PORT= yes
CONFIGURE_ARGS+= --disable-silent-rules
USE_RC_SUBR= ${PORTNAME}
--with-storage=/var/db/knot \
--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
LIB_DEPENDS= libenet.so:net/enet
CONFIGURE_ARGS= --disable-nls # no translations ATM
--disable-nls # no translations ATM
USES= gmake openal:al tar:xz
USE_SDL= sdl2
CONFIGURE_ENV= ac_cv_lib_ICE_IceConnectionNumber="no" \
ac_cv_search_glutInit="none required"
MAKE_ARGS= am_lua_liblua_a_OBJECTS='lua/luaclass.$$(OBJEXT)'
LDFLAGS+= -Wl,--as-needed # fltk deps
USES= pkgconfig
USE_GNOME= gtk20
PLIST_FILES= bin/${PORTNAME} \
share/pixmaps/${PORTNAME}.png
USE_GL= gl glu
CONFIGURE_ARGS= --with-boost="${LOCALBASE}" \
--with-boost-filesystem=boost_filesystem \
--with-boost-filesystem=boost_filesystem
LDFLAGS= -L${LOCALBASE}/lib
# XXX: it would be nice if one day this option would be passed automatically
# to configure scripts that support it :)
--with-plugins-install=prefix \
--sysconfdir="${SYSCONFIGDIR}" \
--disable-kparts3 \
--disable-jemalloc \
--disable-jemalloc
GNASHVER= ${PORTVERSION}
CONFIG_FILES= gnashpluginrc gnashrc
--with-fontconfigincludedir=${LOCALBASE}/include \
--with-fontconfiglibdir=${LOCALBASE}/lib \
--disable-io --disable-ocaml --disable-java \
--disable-sharp \
--disable-sharp
.if ${PORT_OPTIONS:MMING}
BROKEN= Ming incomplete, uses removed libgraph
CONFIGURE_ENV= ac_cv_lib_jpeg_jpeg_destroy_decompress=yes \
ac_cv_lib_tiff_TIFFWriteScanline=yes
CONFIGURE_ARGS= --disable-libchamplain \
--disable-libchamplain \
--enable-compile-warnings=minimum \
--enable-librsvg
python tar:xz
USE_GNOME= gnomedocutils gtk30 intltool librsvg2 pygobject3
EXTRACT_AFTER_ARGS= --exclude test/extra
CPPFLAGS+= -D_GLIBCXX_USE_C99 -D_GLIBCXX_USE_C99_MATH_TR1 \
-D_DECLARE_C99_LDBL_MATH # XXX ports/193528
CPPFLAGS+= ${CPPFLAGS_${CHOSEN_COMPILER_TYPE}_${COMPILER_VERSION}}
liblcms2.so:graphics/lcms2
CONFIGURE_ARGS= --disable-silent-rules --enable-extras
CONFIGURE_ARGS= --enable-extras
USES= desktop-file-utils gettext gmake jpeg pkgconfig
USE_GNOME= cairo gtk20 intltool libxml2
USE_XORG= x11
CONFIGURE_ARGS+=--enable-openssl --enable-gtkfe --disable-sysinfo \
CONFIGURE_ARGS= --enable-openssl --enable-gtkfe --disable-sysinfo \
--with-pkgconfigdir=${LOCALBASE}/libdata/pkgconfig \
--disable-silent-rules LUA=lua-${LUA_VER}
LUA=lua-${LUA_VER}
INSTALLS_ICONS= yes
USES= cpe tar:xz
CONFIGURE_ARGS= --disable-silent-rules # --docdir=${WRKDIR}/tmproot
USE_RC_SUBR= ngircd
CPE_VENDOR= barton
USES= cpe gmake makeinfo pkgconfig tar:xz
CPE_VENDOR= martin_lambers
CONFIGURE_ARGS= --disable-silent-rules --with-tls=no
CONFIGURE_ARGS= --with-tls=no
INFO= mpop
USES= autoreconf gmake libtool makeinfo pkgconfig
USE_GNOME= glib20
CONFIGURE_ARGS= --disable-silent-rules --disable-gtk --disable-mu4e
CONFIGURE_ARGS= --disable-gtk --disable-mu4e
OPTIONS_DEFINE= DOCS GUILE
GH_ACCOUNT= djcb
USE_EMACS= yes
CONFIGURE_ARGS= --disable-gtk \
--disable-gtk \
--disable-webkit \
--disable-guile \
--docdir="${DOCSDIR}" \
EXCLUDE= VSHelper.h VSScript.h VapourSynth.h
EXTRACT_AFTER_ARGS=${EXCLUDE:S,^,--exclude ,}
CONFIGURE_ARGS= --disable-silent-rules --enable-static
CONFIGURE_ARGS= --enable-static
CPPFLAGS+= -D_GLIBCXX_USE_C99 # XXX ports/193528
CPPFLAGS+= `pkg-config vapoursynth --cflags`
USE_GNOME= glib20 intltool
USE_PERL5= build
CONFIGURE_ARGS= --disable-gconf
--disable-gconf
USE_XORG= x11 xscrnsaver
CONFIGURE_ARGS= --disable-nautilus \
--disable-nautilus \
--disable-nemo \
--disable-schemas-install \
--without-libgda
LIB_DEPENDS= libva.so:multimedia/libva
CONFIGURE_ARGS= --disable-wayland \
CONFIGURE_ARGS= --disable-wayland
USES= compiler:c11 gmake libtool pkgconfig tar:xz
USES= autoreconf gmake libtool localbase pathfix pkgconfig
--disable-dv1394 --disable-egl --disable-fdkaac \
--disable-gles1 --disable-gles2 --disable-kai --disable-kva \
--disable-libvnc --disable-opencv --disable-projectm \
--disable-quicksync --disable-silent-rules --disable-telx \
--disable-quicksync --disable-telx \
--disable-tiger --disable-tremor --disable-udev \
--disable-update-check --disable-vcdx --disable-vsxu \
--disable-wasapi --disable-x26410b \
LIBS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --disable-silent-rules --disable-strict --disable-tests \
CONFIGURE_ARGS= --disable-strict --disable-tests \
--with-antlr=${LOCALBASE}
USES= compiler:c11 gmake libtool pathfix
CONFIGURE_ARGS= --with-openssl=${OPENSSLBASE} \
--with-openssl=${OPENSSLBASE} \
--with-log4cplus=${LOCALBASE} \
--with-boost-include=${LOCALBASE}/include \
--with-boost-lib-dir=${LOCALBASE}/lib \
CONFIGURE_ARGS= --disable-deplibs-link --disable-documentation \
--disable-silent-rules --disable-speex --disable-strict \
--disable-speex --disable-strict \
--disable-tutorials \
--enable-external-mediastreamer --enable-external-ortp \
--enable-lime --with-polarssl=${LOCALBASE} \
CONFIGURE_ARGS= --disable-alsa --disable-documentation --disable-matroska \
--disable-pulseaudio --disable-silent-rules --disable-strict \
--disable-pulseaudio --disable-strict \
--with-gsm=${LOCALBASE} --with-srtp=${LOCALBASE} \
--with-polarssl=${LOCALBASE} xxd_found=yes
CPPFLAGS+= -I${LOCALBASE}/include -DHAVE_ARC4RANDOM
.include <bsd.port.options.mk>
USES= cpe pathfix shebangfix libedit libtool pkgconfig ssl
gettext-runtime
USE_RC_SUBR= openntpd
OPTIONS_DEFINE= RESSL
RESSL_DESC= SSL/TLS support via LibreSSL
CONFLICTS_INSTALL= linphone-base-[0-9]*
CONFIGURE_ARGS= --disable-silent-rules --disable-strict
CONFIGURE_ARGS= --disable-strict
USES= libtool pathfix pkgconfig
CONFIGURE_ENV+= ac_cv_path_KRB5_CONFIG=${KRB5CONFIG} \
ac_cv_path_XMLTO=${TRUE}
CONFIGURE_ARGS+=--disable-silent-rules --sysconfdir=/etc
CONFIGURE_ARGS= --sysconfdir=/etc
# Kerberos may or may not be there, but LDAP always is:
CFLAGS+= -I${LOCALBASE}/include -DLDAP_DEPRECATED=0
USES= gmake iconv libtool perl5
USE_GSTREAMER1= yes
CONFIGURE_ARGS= --with-extractor=${LOCALBASE} \
--with-extractor=${LOCALBASE} \
--with-gnutls=${LOCALBASE} \
--with-libgcrypt-prefix=${LOCALBASE} \
--with-libunistring-prefix=${LOCALBASE} \
MAKE_ENV+= OCAMLRUNPARAM="l=256M"
MAKE_JOBS_UNSAFE= yes
CONFIGURE_ARGS+=${ICONV_CONFIGURE_ARG} \
CONFIGURE_ARGS+=${ICONV_CONFIGURE_ARG}
--disable-option-checking
CONFIGURE_ENV+= NEWCXX="${CXX}" \
PTHREAD_LIBS="-lpthread"
USE_RC_SUBR= cups_browsed
CONFIGURE_ARGS= --disable-silent-rules --with-shell=/bin/sh \
CONFIGURE_ARGS= --with-shell=/bin/sh \
ZLIB_CFLAGS=" " ZLIB_LIBS="-lz"
USE_GL= glu
USE_XORG= xmu
CONFIGURE_ARGS= --disable-silent-rules --disable-gtk-doc \
CONFIGURE_ARGS= --disable-gtk-doc \
--without-kde4-thumbnailer
CONFIGURE_ARGS= --disable-guile \
--enable-local-libopts \
ac_cv_type_max_align_t=yes
LIB_DEPENDS= libmbedtls.so.9:security/polarssl13
CONFIGURE_ARGS= --disable-silent-rules --disable-strict \
CONFIGURE_ARGS= --disable-strict \
--with-polarssl=${LOCALBASE}
SUB_FILES= pkg-message
CONFIGURE_ARGS+=--enable-gccprotect \
--with-libpcre-includes=${LOCALBASE}/include \
--with-libpcre-libraries=${LOCALBASE}/lib \
--with-libyaml-includes=${LOCALBASE}/include \
USES= autoreconf compiler:c++11-lib fuse localbase pkgconfig
MAKEFILE= makefile
USES= autoreconf fuse libtool pkgconfig
PLIST_FILES= bin/squashfuse bin/squashfuse_ll man/man1/squashfuse.1.gz
USES= tar:bzip2 pathfix pkgconfig gettext iconv libtool
CONFIGURE_ARGS= --disable-doc
--disable-doc
CONFIGURE_ARGS= --without-python --without-ruby # in separate ports
"@dir(,,2777) /var/run/${PORTNAME}"
PORTDOCS= README.markdown
USES= libtool pathfix pkgconfig python shebangfix
SHEBANG_FILES= src/template-converter src/htmlparser/generate_fsm.py src/htmlparser/fsm_config.py
USE_GITHUB= yes
CONFIGURE_ARGS= --disable-benchmark \
--disable-document \
--localstatedir=/var \
--without-cutter \
--without-inkscape \
GH_ACCOUNT= vstakhov
USES= gmake
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
USES= pathfix pkgconfig libtool
USE_GNOME= libxml2
USE_RC_SUBR= cherokee
CONFIGURE_ARGS= --disable-static \
--disable-static \
--localstatedir=${CHEROKEE_VARDIR} \
--without-php \
--with-python=${PYTHON_CMD} \
USE_CXXSTD= c++11
CONFIGURE_ARGS= --disable-schemas-install \
--with-plugin_dir="${WEBPLUGIN_DIR}"
USE_GNOME= gconf2 gnomeprefix intltool
USES= gettext gmake pathfix pkgconfig tar:xz
CONFIGURE_ARGS= --with-gtk=2.0
--with-gtk=2.0
GCONF_SCHEMAS= thumbnailer.schemas
XHEADER_DESC= X-Tinyproxy header
CONFIGURE_ARGS= --bindir=${PREFIX}/sbin \
--program-transform-name=""
--with-xml=libxml2 \
--with-tcl=${TCL_LIBDIR} \
--enable-cppapi \
--with-user=${USERS} \
BROKEN_sparc64= fails to detect working compiler
#CONFIGURE_ARGS+=--disable-silent-rules
CONFIGURE_ARGS+=--disable-egl \
--disable-gles2
# --with-acceleration-backend=opengl # clutter broken?
USE_GNOME= gtk20 introspection:build
USE_XORG= x11 xext xrender
CONFIGURE_ARGS= --disable-silent-rules --disable-gtk-doc
CONFIGURE_ARGS= --disable-gtk-doc
USE_GNOME= gtk30 introspection:build
CONFIGURE_ARGS= --prefix="${PREFIX}" \
--with-plugins=netstatus,volume,volumealsa,deskno,batt,kbled,xkb,thermal,cpu,cpufreq,monitors,wnckpager \
--with-x --disable-silent-rules \
--with-x \
CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CFLAGS+= -I${WRKSRC}
LICENSE= GPLv3
LIBS+= -L${LOCALBASE}/lib -lX11
LIB_DEPENDS= libgdome.so:textproc/gdome2
USES= autoreconf:build gettext gmake libtool pathfix pkgconfig
USE_XORG= ice recordproto sm x11 xext xmu xscrnsaver xtst
USE_GNOME= intltool intlhack introspection gtkmm30
CONFIGURE_ARGS= --disable-gsettings \
--disable-gsettings \
--disable-pulse \
--disable-gconf \
--disable-mate \
CONFIGURE_ENV= ac_cv_header_libintl_h=no
PLIST_FILES= bin/xtermcontrol man/man1/xtermcontrol.1.gz
RUN_DEPENDS= pdfoutline:textproc/pdfoutline
CONFIGURE_ARGS= --with-unicode-blocks=${WRKSRC}/Blocks.txt
--with-unicode-blocks=${WRKSRC}/Blocks.txt
USE_GNOME= pango
USE_PERL5= run
USES= gmake iconv localbase pkgconfig
USE_GNOME= gtk20 intlhack libxslt
OPTIONS_DEFINE= NLS