ports/136682: [MAINTAINER] multimedia/mythtv-frontend: fixes to respect LOCALBASE

Bernhard Froehlich decke at bluelife.at
Sun Jul 12 11:00:03 UTC 2009


>Number:         136682
>Category:       ports
>Synopsis:       [MAINTAINER] multimedia/mythtv-frontend: fixes to respect LOCALBASE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 12 11:00:02 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

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

--- mythtv-frontend-0.21_2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/multimedia/mythtv-frontend.orig/Makefile /usr/ports/multimedia/mythtv-frontend/Makefile
--- /usr/ports/multimedia/mythtv-frontend.orig/Makefile	2009-04-25 03:17:56.000000000 +0200
+++ /usr/ports/multimedia/mythtv-frontend/Makefile	2009-07-12 12:54:22.000000000 +0200
@@ -7,7 +7,7 @@
 
 PORTNAME=	mythtv-frontend
 PORTVERSION=	0.21
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	multimedia
 MASTER_SITES=	http://ftp.osuosl.org/pub/mythtv/ \
 		http://ftp.oregonstate.edu/pub/mythtv/
@@ -37,8 +37,7 @@
 		QMAKESPEC="${QMAKESPEC}"
 
 CONFIGURE_ENV+=	QMAKESPEC="${QMAKESPEC}" MOC="${MOC}" CPPFLAGS="${CPPFLAGS}  ${QTCPPFLAGS}" \
-		QTDIR="${QT_PREFIX}" KDEDIR="${KDE_PREFIX}" \
-		CFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
+		QTDIR="${QT_PREFIX}" KDEDIR="${KDE_PREFIX}" LDFLAGS="-L${LOCALBASE}/lib"
 
 CONFIGURE_ARGS=	--prefix="${PREFIX}" --disable-v4l --disable-ivtv --disable-firewire \
 		--disable-dvb --disable-dbox2 --disable-hdhomerun --disable-iptv \
@@ -64,6 +63,10 @@
 	@${ECHO_MSG}
 	@sleep 3
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
+		${WRKSRC}/configure
+
 .if defined(WITH_ARTS)
 LIB_DEPENDS+=	artsc.0:${PORTSDIR}/audio/arts
 CONFIGURE_ARGS+=	--enable-audio-arts
diff -ruN --exclude=CVS /usr/ports/multimedia/mythtv-frontend.orig/pkg-plist /usr/ports/multimedia/mythtv-frontend/pkg-plist
--- /usr/ports/multimedia/mythtv-frontend.orig/pkg-plist	2009-01-15 22:24:56.000000000 +0100
+++ /usr/ports/multimedia/mythtv-frontend/pkg-plist	2009-07-12 12:54:22.000000000 +0200
@@ -109,7 +109,6 @@
 include/mythtv/libmythui/mythlistbutton.h
 include/mythtv/libmythui/mythmainwindow.h
 include/mythtv/libmythui/mythpainter.h
-include/mythtv/libmythui/mythpainter_ogl.h
 include/mythtv/libmythui/mythpainter_qt.h
 include/mythtv/libmythui/mythscreenstack.h
 include/mythtv/libmythui/mythscreentype.h
--- mythtv-frontend-0.21_2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list