Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jun 2018 14:52:48 +0000 (UTC)
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r471371 - head/audio/taglib
Message-ID:  <201806021452.w52EqmH7000645@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhale
Date: Sat Jun  2 14:52:48 2018
New Revision: 471371
URL: https://svnweb.freebsd.org/changeset/ports/471371

Log:
  Disable automatic detection of devel/boost-libs if installed. This prevents
  unnecessary linking to libboost_atomic.so if installed on FreeBSD 10.x and
  use of the boost headers elsewhere.
  
  Bump PORTREVISION to rectify stray linking if taglib was built outside of a
  clean environment.
  
  While here, switch to CMAKE_ARGS to CMAKE_ON and switch RCC_[CFLAGS|LDFLAGS]
  to RCC_USES=localbase:ldflags
  
  Reported by:	Tatsuki Makino <tatsuki_makino@hotmail.com> (via private mail)

Modified:
  head/audio/taglib/Makefile

Modified: head/audio/taglib/Makefile
==============================================================================
--- head/audio/taglib/Makefile	Sat Jun  2 14:17:33 2018	(r471370)
+++ head/audio/taglib/Makefile	Sat Jun  2 14:52:48 2018	(r471371)
@@ -3,6 +3,7 @@
 
 PORTNAME=	taglib
 PORTVERSION=	1.11.1
+PORTREVISION=	1
 CATEGORIES=	audio
 MASTER_SITES=	http://taglib.github.io/releases/
 
@@ -15,12 +16,13 @@ LICENSE_FILE_LGPL21=	${WRKSRC}/COPYING.LGPL
 LICENSE_FILE_MPL11=	${WRKSRC}/COPYING.MPL
 
 USES=		cmake cpe pathfix
-CMAKE_ARGS=	-DWITH_ASF:BOOL=ON \
-		-DWITH_MP4:BOOL=ON \
-		-DBUILD_SHARED_LIBS:BOOL=ON
-
 USE_LDCONFIG=	yes
 
+CMAKE_ON=	CMAKE_DISABLE_FIND_PACKAGE_Boost \
+		WITH_ASF \
+		WITH_MP4 \
+		BUILD_SHARED_LIBS
+
 CPE_VENDOR=	scott_wheeler
 
 OPTIONS_DEFINE=	RCC
@@ -34,9 +36,8 @@ OPTIONS_SUB=	yes
 #
 RCC_DESC=		Build with RusXMMS librcc patches (experimental)
 RCC_LIB_DEPENDS=	librcc.so:devel/librcc
+RCC_USES=		localbase:ldflags
 RCC_EXTRA_PATCHES=	${FILESDIR}/extrapatch-rcc
-RCC_CFLAGS=		-I${LOCALBASE}/include
-RCC_LDFLAGS=		-L${LOCALBASE}/lib
 
 post-patch-RCC-on:
 	@${REINPLACE_CMD} -e 's|-ltag|-ltag -lrcc|g' \



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