Skip to content

Commit

Permalink
*/*: sync with upstream
Browse files Browse the repository at this point in the history
Taken from: HardenedBSD
  • Loading branch information
fichtner committed Sep 10, 2018
1 parent 81245f6 commit 740ed7b
Show file tree
Hide file tree
Showing 1,536 changed files with 5,868 additions and 3,644 deletions.
2 changes: 2 additions & 0 deletions accessibility/kmag/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ USE_KDE= auth codecs config configwidgets coreaddons ecm \
USE_QT= core dbus gui printsupport widgets xml \
buildtools_build qmake_build

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions accessibility/kmousetool/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ USE_QT= core dbus gui phonon4 widgets xml \
buildtools_build qmake_build
USE_XORG= ice sm x11 xext xtst

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions accessibility/kmouth/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ USE_KDE= auth codecs completion config configwidgets coreaddons crash \
USE_QT= core dbus gui network printsupport speech widgets xml \
buildtools_build qmake_build

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 1 addition & 1 deletion archivers/ark/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ USE_QT= concurrent core dbus gui network widgets xml \

USE_LDCONFIG= yes

OPTIONS_DEFINE= 7ZIP RAR ZIP
OPTIONS_DEFINE= 7ZIP RAR ZIP DOCS
OPTIONS_SUB= YES

7ZIP_DESC= Support for 7-Zip archives
Expand Down
2 changes: 2 additions & 0 deletions archivers/erlang-snappy/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ GH_ACCOUNT= skunkwerks
GH_PROJECT= snappy-erlang-nif
GH_TAGNAME= 0951a1b

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions archivers/lzop/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions archivers/zip-ada/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ DEMOS= demo_csv_into_zip \
test_llhc \
test_lz77

OPTIONS_DEFINE= EXAMPLES

do-build:
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} gnatmake -p -P zipada.gpr)

Expand Down
2 changes: 1 addition & 1 deletion astro/geographiclib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ CMAKE_ARGS= -DGEOGRAPHICLIB_DATA:STRING=${DATADIR:Q}\
-DINSTALL_PYTHON_DIR:STRING=${PYTHON_SITELIBDIR:Q}\
-DINSTALL_DOC_DIR:STRING=${DOCSDIR:Q}

OPTIONS_DEFINE= DOXYGEN PERL
OPTIONS_DEFINE= DOXYGEN PERL DOCS
OPTIONS_DEFAULT= DOXYGEN PERL\
GEOID_EGM96_5 GRAVITY_EGM96 GRAVITY_WGS84\
MAGNETIC_WMM2015 MAGNETIC_IGRF12
Expand Down
2 changes: 2 additions & 0 deletions astro/libkgeomap/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ USE_QT= concurrent core gui network webkit widgets xml \

USE_LDCONFIG= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 1 addition & 1 deletion astro/marble/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ MAKE_ENV= XDG_CONFIG_HOME=/dev/null
CMAKE_ARGS= -DMOBILE:BOOL=FALSE \
-DQT_IMPORTS_DIR:PATH=${QT_IMPORTDIR}

OPTIONS_DEFINE= GPS
OPTIONS_DEFINE= GPS DOCS
OPTIONS_DEFAULT=GPS
OPTIONS_SUB= yes

Expand Down
2 changes: 2 additions & 0 deletions astro/opencpn/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ LDFLAGS+= -Wl,--as-needed # ICE, SM, Xext

BROKEN_aarch64= Fails to compile: use of undeclared identifier rand

OPTIONS_DEFINE= DOCS

post-patch:
@${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},' \
${WRKSRC}/src/mygdal/cpl_csv.cpp \
Expand Down
2 changes: 1 addition & 1 deletion astro/p5-Astro-Sunrise/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ CATEGORIES= astro perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-

MAINTAINER= tobez@FreeBSD.org
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl extension for computing the sunrise/sunset on a given day

LICENSE= ART10 GPLv1+
Expand Down
2 changes: 1 addition & 1 deletion audio/audiocd-kio/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ USE_QT= core dbus gui network phonon4 printsupport widgets xml \

USE_LDCONFIG= yes

OPTIONS_DEFINE= LAME
OPTIONS_DEFINE= LAME DOCS
LAME_DESC= Install LAME MP3 audio encoder
LAME_RUN_DEPENDS= lame:audio/lame

Expand Down
5 changes: 0 additions & 5 deletions audio/cava/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ COMMENT= Console-based Audio Visualizer for MPD, PulseAudio, and sndio
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE

BROKEN_powerpc64= fails to compile: cc1: unrecognized command line option -Wno-unused-result

LIB_DEPENDS= libfftw3.so:math/fftw3 \
libiniparser.so:devel/iniparser

Expand All @@ -38,9 +36,6 @@ PULSEAUDIO_LIB_DEPENDS= libpulse-simple.so:audio/pulseaudio \
SNDIO_CONFIGURE_ENV_OFF= ac_cv_lib_sndio_sio_open=no
SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio

post-patch:
@${REINPLACE_CMD} '/^cava_font/d' ${WRKSRC}/Makefile.am

pre-configure:
@${ECHO_CMD} ${DISTVERSION} > ${WRKSRC}/version

Expand Down
18 changes: 18 additions & 0 deletions audio/cava/files/patch-Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
- Remove some flags that gcc 4.2 (on tier 2 archs like powerpc)
does not recognize
- Do not install the Linux-only font

--- Makefile.am.orig 2018-09-10 08:31:56 UTC
+++ Makefile.am
@@ -14,10 +14,8 @@ cava_LDADD = -liniparser
cava_LDFLAGS = -L/usr/local/lib -Wl,-rpath /usr/local/lib
cava_CPPFLAGS = -DPACKAGE=\"$(PACKAGE)\" -DVERSION=\"$(VERSION)\" \
-D_POSIX_SOURCE -D _POSIX_C_SOURCE=200809L
-cava_CFLAGS = -std=c99 -Wall -Wextra -Wno-unused-result -Wno-maybe-uninitialized
+cava_CFLAGS = -std=c99 -Wall -Wextra

-cava_font_dir = @FONT_DIR@
-cava_font__DATA = cava.psf

if !SYSTEM_LIBINIPARSER
cava_SOURCES += iniparser/libiniparser.la
2 changes: 1 addition & 1 deletion audio/chromaprint/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ CMAKE_ARGS= -DBUILD_TOOLS:BOOL=true \

WRKSRC= ${WRKDIR}/${PORTNAME}-v${PORTVERSION}

OPTIONS_DEFINE= DOXYGEN TEST
OPTIONS_DEFINE= DOCS DOXYGEN TEST

DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen \
dot:graphics/graphviz
Expand Down
2 changes: 1 addition & 1 deletion audio/fasttracker2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# $FreeBSD$

PORTNAME= fasttracker2
DISTVERSION= 0.1-b93
DISTVERSION= 0.1-b94
CATEGORIES= audio
MASTER_SITES= https://16-bits.org/ \
LOCAL/ehaupt
Expand Down
6 changes: 3 additions & 3 deletions audio/fasttracker2/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1535815409
SHA256 (ft2clone-b93-code.zip) = cf5bf2d8e84d0015f894823d6eaf10e9b372ecba95ce30e1dfb67aa17f5aa39e
SIZE (ft2clone-b93-code.zip) = 4561478
TIMESTAMP = 1536572371
SHA256 (ft2clone-b94-code.zip) = c34d82353d9637a4e6bd8cf673a71854b4dc32e016c79187c2f026edf139ef38
SIZE (ft2clone-b94-code.zip) = 4563382
2 changes: 2 additions & 0 deletions audio/juk/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ USE_KDE= auth bookmarks codecs completion config configwidgets \
USE_QT= core dbus gui network phonon4 svg widgets xml \
buildtools_build qmake_build

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 1 addition & 1 deletion audio/kmix/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ USE_QT= core dbus gui widgets xml \
# we want the KF5 version of kmix
CMAKE_ARGS= -DKMIX_KF5_BUILD:BOOL=TRUE

OPTIONS_DEFINE= PULSEAUDIO
OPTIONS_DEFINE= PULSEAUDIO DOCS
# TODO: readd ALSA option
#
# ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
Expand Down
2 changes: 2 additions & 0 deletions audio/kwave/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
PULSEAUDIO_CMAKE_BOOL= WITH_PULSEAUDIO
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio

OPTIONS_DEFINE= DOCS

.include <bsd.port.pre.mk>

. if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100000 && ${OSVERSION} < 1101505
Expand Down
2 changes: 2 additions & 0 deletions audio/libkcddb/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ USE_QT= core gui network widgets xml \
buildtools_build qmake_build
USE_LDCONFIG= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 1 addition & 1 deletion audio/libkcompactdisc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ USE_QT= core dbus phonon4\
buildtools_build qmake_build
USE_LDCONFIG= yes

OPTIONS_DEFINE= ALSA
OPTIONS_DEFINE= ALSA DOCS

ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
ALSA_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_ALSA
Expand Down
3 changes: 2 additions & 1 deletion audio/libnjb/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ LDFLAGS+= -L${LOCALBASE}/lib

PORTDOCS= *

OPTIONS_DEFINE= DOXYGEN
OPTIONS_DEFINE= DOXYGEN DOCS

DOXYGEN_IMPLIES= DOCS
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
DOXYGEN_CONFIGURE_ENV_OFF= ac_cv_prog_HAVE_DOXYGEN=no

Expand Down
2 changes: 2 additions & 0 deletions audio/linux-c6-alsa-lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ USES= linux:c6
USE_LDCONFIG= yes
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

post-patch:
@${RM} -r ${WRKSRC}/etc/* ${WRKSRC}/usr/lib/alsa-lib/smixer/*.la \
${WRKSRC}/usr/lib64/alsa-lib/smixer/*.la
Expand Down
2 changes: 2 additions & 0 deletions audio/linux-c6-alsa-plugins-oss/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@ USE_LDCONFIG= yes
USE_LINUX= alsalib
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions audio/linux-c6-alsa-plugins-pulseaudio/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@ USE_LDCONFIG= yes
USE_LINUX= alsalib pulseaudio-libs
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions audio/linux-c6-flac/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ USE_LDCONFIG= yes
USE_LINUX= libogg
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions audio/linux-c6-libaudiofile/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ USES= linux:c6
USE_LDCONFIG= yes
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions audio/linux-c6-libogg/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ USES= linux:c6
USE_LDCONFIG= yes
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions audio/linux-c6-libsndfile/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ USE_LDCONFIG= yes
USE_LINUX= flac libogg libvorbis
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions audio/linux-c6-libvorbis/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ USE_LDCONFIG= yes
USE_LINUX= libogg
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions audio/linux-c6-mikmod/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ USES= linux:c6
USE_LDCONFIG= yes
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions audio/linux-c6-nas-libs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ USE_LDCONFIG= yes
USE_LINUX= xorglibs
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

post-patch:
@${RM} -r ${WRKSRC}/etc ${WRKSRC}/usr/bin ${WRKSRC}/usr/share/man

Expand Down
2 changes: 2 additions & 0 deletions audio/linux-c6-openal-soft/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ USE_LDCONFIG= yes
USE_LINUX= alsalib
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions audio/linux-c6-sdl_mixer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@ USE_LDCONFIG= yes
USE_LINUX= sdl12
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions audio/linux-c7-alsa-lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ USES= linux:c7
USE_LDCONFIG= yes
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

post-patch:
@${RM} -r ${WRKSRC}/etc/* ${WRKSRC}/lib/modprobe.d \
${WRKSRC}/usr/share/doc/alsa-lib
Expand Down
2 changes: 2 additions & 0 deletions audio/linux-c7-alsa-plugins-oss/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,6 @@ USE_LDCONFIG= yes
USE_LINUX= alsalib
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions audio/linux-c7-alsa-plugins-pulseaudio/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,6 @@ USE_LDCONFIG= yes
USE_LINUX= alsalib pulseaudio-libs
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions audio/linux-c7-audiofile/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ USES= linux:c7
USE_LDCONFIG= yes
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions audio/linux-c7-flac/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@ USE_LDCONFIG= yes
USE_LINUX= libogg
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions audio/linux-c7-libogg/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ USES= linux:c7
USE_LDCONFIG= yes
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions audio/linux-c7-libsndfile/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ USE_LDCONFIG= yes
USE_LINUX= flac libogg libvorbis
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions audio/linux-c7-libvorbis/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ USE_LDCONFIG= yes
USE_LINUX= libogg
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions audio/linux-c7-openal-soft/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ USE_LDCONFIG= yes
USE_LINUX= alsalib
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
2 changes: 2 additions & 0 deletions audio/linux-c7-sdl_mixer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,6 @@ USE_LDCONFIG= yes
USE_LINUX= sdl12
USE_LINUX_RPM= yes

OPTIONS_DEFINE= DOCS

.include <bsd.port.mk>
3 changes: 2 additions & 1 deletion audio/lv2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,14 @@ CONFLICTS_INSTALL= lv2core
USES= python shebangfix tar:bzip2 waf
SHEBANG_FILES= lv2specgen/lv2specgen.py

OPTIONS_DEFINE= DOXYGEN EXAMPLES
OPTIONS_DEFINE= DOCS DOXYGEN EXAMPLES
OPTIONS_SUB= yes

DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen \
${PYTHON_PKGNAMEPREFIX}rdflib>0:textproc/py-rdflib@${PY_FLAVOR}
DOXYGEN_CONFIGURE_ON= --docs
DOXYGEN_PORTDOCS= *
DOXYGEN_IMPLIES= DOCS

EXAMPLES_CONFIGURE_OFF= --no-plugins
EXAMPLES_LIB_DEPENDS= libsndfile.so:audio/libsndfile
Expand Down
Loading

0 comments on commit 740ed7b

Please sign in to comment.