summaryrefslogtreecommitdiff
path: root/multimedia/mythtv/Makefile
diff options
context:
space:
mode:
authorGreg Larkin <glarkin@FreeBSD.org>2009-08-05 01:52:23 +0000
committerGreg Larkin <glarkin@FreeBSD.org>2009-08-05 01:52:23 +0000
commitc52c2f441e74911342eacc870494ee774043f0ef (patch)
tree3eff2ddb243b5e308328126768e04babbf189752 /multimedia/mythtv/Makefile
parentAdd/Update WWW records in pkg-descr files (diff)
- Fixes to respect LOCALBASE
PR: ports/136629 Submitted by: Bernhard Froehlich <decke at bluelife dot at>
Diffstat (limited to 'multimedia/mythtv/Makefile')
-rw-r--r--multimedia/mythtv/Makefile8
1 files 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}