aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorGreg Larkin <glarkin@FreeBSD.org>2009-03-19 14:33:11 +0000
committerGreg Larkin <glarkin@FreeBSD.org>2009-03-19 14:33:11 +0000
commit4f4f1f65a7e99adc7c67c1c73bb26d1fa4b5ca43 (patch)
treee368ec67d96966910d6153af9a5470ff20018081 /multimedia
parenteed1938e657a26acaca1ee29dac03ab6452abc0e (diff)
downloadports-4f4f1f65a7e99adc7c67c1c73bb26d1fa4b5ca43.tar.gz
ports-4f4f1f65a7e99adc7c67c1c73bb26d1fa4b5ca43.zip
- Added directives to clean up the locale-related env variables. MythTV's
configure script creates an invalid mythconfig.h with some locale settings. Seems to be a similar problem as described in this PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=76585&cat= Reported by: Maciej Milewski <milu at dat dot pl>
Notes
Notes: svn path=/head/; revision=230402
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mythtv/Makefile17
1 files changed, 12 insertions, 5 deletions
diff --git a/multimedia/mythtv/Makefile b/multimedia/mythtv/Makefile
index 68891da39855..2aa5127bba33 100644
--- a/multimedia/mythtv/Makefile
+++ b/multimedia/mythtv/Makefile
@@ -29,9 +29,13 @@ USE_QT_VER= 3
USE_MYSQL= 51
USE_GMAKE= yes
GNU_CONFIGURE= yes
+LOCALE_CLEANUP= LANG="" LC_ALL="" LC_COLLATE="" LC_CTYPE="" \
+ LC_MESSAGES="" LC_MONETARY="" LC_NUMERIC="" \
+ LC_TIME=""
CONFIGURE_ENV= QMAKESPEC="${QMAKESPEC}" \
- CFLAGS="${CFLAGS}"
-MAKE_ENV= QTDIR="${QT_PREFIX}" QMAKESPEC="${QMAKESPEC}"
+ CFLAGS="${CFLAGS}" ${LOCALE_CLEANUP}
+MAKE_ENV= QTDIR="${QT_PREFIX}" QMAKESPEC="${QMAKESPEC}" \
+ ${LOCALE_CLEANUP}
USE_RC_SUBR= mythbackend
USE_LDCONFIG= ${PREFIX}/lib/mythtv/filters
@@ -77,13 +81,16 @@ RUN_DEPENDS+= mysqld_safe:${PORTSDIR}/databases/mysql${MYSQL_VER}-server
.endif
post-extract:
- ${ECHO_CMD} export QMAKESPEC=${QMAKESPEC}
+ @${ECHO_CMD} export QMAKESPEC=${QMAKESPEC}
do-configure:
- @cd ${WRKSRC} && QMAKESPEC=${QMAKESPEC} ./configure ${CONFIG}
+ @${ECHO_CMD} CONFIGURE_ENV: ${CONFIGURE_ENV}
+ @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
+ ./configure ${CONFIG}
@${ECHO_CMD} MAKE_ENV: ${MAKE_ENV}
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} qmake \
- -spec ${LOCALBASE}/share/qt/mkspecs/freebsd-g++ mythtv.pro
+ -spec ${LOCALBASE}/share/qt/mkspecs/freebsd-g++ \
+ mythtv.pro
post-install:
@${INSTALL} -d ${PREFIX}/share/mythtv/database