Saturday, April 10, 2021

Re: audio/hydrogen build failure

On Sat Apr 10, 2021 at 01:24:43PM +0100, Stuart Henderson wrote:
> On 2021/04/09 21:32, Christian Weisgerber wrote:
> > audio/hydrogen failed to build in my latest amd64 bulk build.
> >
> > ===> Faking installation for hydrogen-1.0.1
> > [0/1] /usr/local/bin/cmake --regenerate-during-build -S/usr/obj/ports/hydrogen-1.0.1/hydrogen-1.0.1 -B/usr/obj/ports/hydrogen-1.0.1/build-amd64
> >
> > ... and then it goes off the rails.
>
> On 2021/04/09 21:35, Christian Weisgerber wrote:
> > net/nextcloudclient failed to build in my latest amd64 bulk build.
>
> For both it looks like cmake picks up doxygen during configure,
> probably either explicitly disabling it or adding as a build dependency
> would help.
>

... let's try it.

Index: Makefile
===================================================================
RCS file: /cvs/ports/audio/hydrogen/Makefile,v
retrieving revision 1.30
diff -u -p -u -p -r1.30 Makefile
--- Makefile 27 Feb 2021 15:45:36 -0000 1.30
+++ Makefile 11 Apr 2021 05:26:03 -0000
@@ -5,6 +5,7 @@ COMMENT= software drum machine
V= 1.0.1
DISTNAME= hydrogen-$V
CATEGORIES= audio
+REVISION= 0

HOMEPAGE= http://www.hydrogen-music.org/

@@ -48,6 +49,9 @@ CONFIGURE_ARGS= -DWANT_ALSA=OFF \
-DWANT_PULSEAUDIO=OFF \
-DWANT_RUBBERBAND=ON \
-DWANT_SNDIO=ON
+
+# Disable Doxygen
+CONFIGURE_ARGS += -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON

post-extract:
cp ${FILESDIR}/Sndio{Audio,Midi}Driver.h \

No comments:

Post a Comment