Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Mar 2020 18:26:22 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r528431 - head/audio/amarok
Message-ID:  <202003141826.02EIQMgj045821@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Sat Mar 14 18:26:21 2020
New Revision: 528431
URL: https://svnweb.freebsd.org/changeset/ports/528431

Log:
  audio/amarok: remove unecessary sed call
  
  amarok's cmake parses the environment for the prefix of the mysql installation.
  So instead of making sure that it looks in the user defined ${LOCALBASE}, we
  can pass MYSQL_DIR=${LOCALBASE} via the environment.
  
  Reported by:	swills

Modified:
  head/audio/amarok/Makefile

Modified: head/audio/amarok/Makefile
==============================================================================
--- head/audio/amarok/Makefile	Sat Mar 14 18:05:23 2020	(r528430)
+++ head/audio/amarok/Makefile	Sat Mar 14 18:26:21 2020	(r528431)
@@ -40,6 +40,8 @@ USE_KDE=	archive auth attica bookmarks codecs config c
 USE_XORG=	ice sm x11 xext
 USE_LDCONFIG=	yes
 
+CONFIGURE_ENV=	MYSQL_DIR=${LOCALBASE}
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	kde
 GH_TAGNAME=	0aa6ae0c77
@@ -85,8 +87,6 @@ QTWEBENGINE_USE=	qt=webengine
 QTWEBENGINE_CMAKE_BOOL_OFF=	CMAKE_DISABLE_FIND_PACKAGE_Qt5WebEngine
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
-		${WRKSRC}/cmake/modules/FindMySQL.cmake
 	@${REINPLACE_CMD} -e 's|/usr/include|${LOCALBASE}/include|' \
 		${WRKSRC}/cmake/modules/FindLoudmouth.cmake
 



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