Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jul 2009 22:27:17 +0200
From:      Bernhard Froehlich <decke@bluelife.at>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        glarkin@FreeBSD.org
Subject:   ports/136629: [PATCH] multimedia/mythtv: fixes to respect LOCALBASE
Message-ID:  <20090709222717.3dd850cf@chii.bluelife.at>
Resent-Message-ID: <200907092030.n69KU1EH082374@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         136629
>Category:       ports
>Synopsis:       [PATCH] multimedia/mythtv: fixes to respect LOCALBASE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 09 20:30:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Bernhard Froehlich
>Release:        FreeBSD 7.2-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD chii.bluelife.at 7.2-RELEASE FreeBSD 7.2-RELEASE #7: Tue May  5 23:36:03 CEST
>Description:
- fixes to respect LOCALBASE
- fixed portlint errors

Port maintainer (glarkin@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- mythtv-0.21_2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/multimedia/mythtv.orig/Makefile /usr/ports/multimedia/mythtv/Makefile
--- /usr/ports/multimedia/mythtv.orig/Makefile	2009-04-25 03:13:39.000000000 +0200
+++ /usr/ports/multimedia/mythtv/Makefile	2009-07-09 22:19:39.000000000 +0200
@@ -8,7 +8,7 @@
 
 PORTNAME=	mythtv
 PORTVERSION=	0.21
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	multimedia
 MASTER_SITES=	ftp://ftp.osuosl.org/pub/mythtv/ \
 		LOCAL/glarkin
@@ -24,13 +24,13 @@
 		${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 @@
 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}
 
--- mythtv-0.21_2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090709222717.3dd850cf>