svn commit: r528431 - head/audio/amarok

Tobias C. Berner tcberner at FreeBSD.org
Sat Mar 14 18:26:24 UTC 2020


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
 


More information about the svn-ports-all mailing list