Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jun 2024 19:07:51 GMT
From:      Daniel Engberg <diizzy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 7526bd06d847 - main - audio/moc: Remove BDB5 support and improve port
Message-ID:  <202406061907.456J7pkF077047@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7526bd06d847df743b24059b1f52f1a94467b28f

commit 7526bd06d847df743b24059b1f52f1a94467b28f
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-06-05 20:03:43 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-06-06 19:05:47 +0000

    audio/moc: Remove BDB5 support and improve port
    
    * Switch to DISTVERSION
    * Use USES= localbase:ldflags helper
    * Disable BDB5 (deprecated)
    * Add libogg.so as dependency for VORBIS option
    * Minor style changes
    * Remove GNU_CONFIGURE_MANPREFIX
    
    PR:             279123
    Approved by:    portmgr (maintainer timeout, 2+ weeks)
---
 audio/moc/Makefile | 17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

diff --git a/audio/moc/Makefile b/audio/moc/Makefile
index bb74e098322b..830e1614b225 100644
--- a/audio/moc/Makefile
+++ b/audio/moc/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	moc
-PORTVERSION=	2.5.2
-PORTREVISION=	11
+DISTVERSION=	2.5.2
+PORTREVISION=	12
 CATEGORIES=	audio
 MASTER_SITES=	http://ftp.daper.net/pub/soft/moc/stable/
 
@@ -13,21 +13,17 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libltdl.so:devel/libltdl
 
-USES=		bdb gmake libtool ncurses pkgconfig tar:bzip2
+USES=		gmake iconv libtool localbase:ldflags ncurses pkgconfig tar:bzip2
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
-GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 
 INSTALL_TARGET=	install-strip
 
-CPPFLAGS+=	-I${LOCALBASE}/include -I${BDB_INCLUDE_DIR}
-LDFLAGS+=	-L${LOCALBASE}/lib -L${BDB_LIB_DIR}
-
-CONFIGURE_ARGS=	--without-ffmpeg
+CONFIGURE_ARGS=	--disable-cache --without-ffmpeg
 
 OPTIONS_DEFINE=	AAC CURL DEBUG FLAC JACK MODPLUG MP3 MUSEPACK RCC \
 		SAMPLERATE SIDPLAY2 SNDFILE SPEEX VORBIS WAVPACK
-OPTIONS_DEFAULT=	MP3 VORBIS FLAC CURL WAVPACK
+OPTIONS_DEFAULT=MP3 VORBIS FLAC CURL WAVPACK
 CURL_DESC=	curl support (Internet streams)
 RCC_DESC=	RCC support
 SIDPLAY2_DESC=	libsidplay2 support
@@ -81,7 +77,8 @@ SPEEX_LIB_DEPENDS=	libspeex.so:audio/speex
 SPEEX_PLIST_FILES=	lib/moc/decoder_plugins/libspeex_decoder.so
 SPEEX_CONFIGURE_OFF=	--without-speex
 
-VORBIS_LIB_DEPENDS=	libvorbis.so:audio/libvorbis
+VORBIS_LIB_DEPENDS=	libogg.so:audio/libogg \
+			libvorbis.so:audio/libvorbis
 VORBIS_PLIST_FILES=	lib/moc/decoder_plugins/libvorbis_decoder.so
 VORBIS_CONFIGURE_OFF=	--without-ogg
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202406061907.456J7pkF077047>