aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorglarkin <glarkin@FreeBSD.org>2009-08-05 09:52:23 +0800
committerglarkin <glarkin@FreeBSD.org>2009-08-05 09:52:23 +0800
commit58610e8bf34aef5b3c28ec7e66006d2af217c677 (patch)
tree0d92e330b843fa0b796b7da81cebb190f8787a3a /multimedia
parent0fa4b4366b185762300d6ae0612ebe7bf984b545 (diff)
downloadfreebsd-ports-gnome-58610e8bf34aef5b3c28ec7e66006d2af217c677.tar.gz
freebsd-ports-gnome-58610e8bf34aef5b3c28ec7e66006d2af217c677.tar.zst
freebsd-ports-gnome-58610e8bf34aef5b3c28ec7e66006d2af217c677.zip
- Fixes to respect LOCALBASE
PR: ports/136629 Submitted by: Bernhard Froehlich <decke at bluelife dot at>
Diffstat (limited to 'multimedia')
-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}