From 58610e8bf34aef5b3c28ec7e66006d2af217c677 Mon Sep 17 00:00:00 2001 From: glarkin Date: Wed, 5 Aug 2009 01:52:23 +0000 Subject: - Fixes to respect LOCALBASE PR: ports/136629 Submitted by: Bernhard Froehlich --- multimedia/mythtv/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/multimedia/mythtv/Makefile b/multimedia/mythtv/Makefile index 058208071a12..7ee5e9a08dcc 100644 --- a/multimedia/mythtv/Makefile +++ b/multimedia/mythtv/Makefile @@ -24,13 +24,13 @@ RUN_DEPENDS= tv_check:${PORTSDIR}/textproc/p5-xmltv \ ${LOCALBASE}/lib/plugins/sqldrivers/libqsqlmysql.so:${PORTSDIR}/databases/qt-mysql-plugin \ wget:${PORTSDIR}/ftp/wget -ONLY_FOR_ARCHS= i386 amd64 +ONLY_FOR_ARCHS= i386 amd64 USE_BZIP2= yes USE_QT_VER= 3 USE_MYSQL= 51 USE_GMAKE= yes GNU_CONFIGURE= yes -LOCALE_CLEANUP= LANG="" LC_ALL="" LC_COLLATE="" LC_CTYPE="" \ +LOCALE_CLEANUP= LANG="" LC_ALL="" LC_COLLATE="" LC_CTYPE="" \ LC_MESSAGES="" LC_MONETARY="" LC_NUMERIC="" \ LC_TIME="" CONFIGURE_ENV= QMAKESPEC="${QMAKESPEC}" \ @@ -81,6 +81,10 @@ LIB_DEPENDS+= lirc_client.1:${PORTSDIR}/comms/lirc RUN_DEPENDS+= mysqld_safe:${PORTSDIR}/databases/mysql${MYSQL_VER}-server .endif +post-patch: + @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ + ${WRKSRC}/configure + post-extract: @${ECHO_CMD} export QMAKESPEC=${QMAKESPEC} -- cgit