ports/97578: multimedia/ogmrip: Remove gsed dependency

Tom McLaughlin tmclaugh at FreeBSD.org
Sun May 21 21:40:10 UTC 2006


>Number:         97578
>Category:       ports
>Synopsis:       multimedia/ogmrip: Remove gsed dependency
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 21 21:40:05 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Tom McLaughlin
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:


System: FreeBSD 6.1-RELEASE #0: Tue May  9 23:24:43 EDT 2006
    root at bofh:/usr/obj/usr/src/sys/GENERIC_ULE



>Description:


Attached patch removes the gsed dependency on ogmrip.  It also corrects the
incorrect usage of RUN_DEPENDS=${BUILD_DEPENDS} which can pull in
unnnecessary run dependencies.

Maintainer CC'ed.


>How-To-Repeat:





>Fix:


--- ogmrip-no_gsed.diff begins here ---
Index: Makefile
===================================================================
RCS file: /ncvs/ports/multimedia/ogmrip/Makefile,v
retrieving revision 1.20
diff -u -r1.20 Makefile
--- Makefile	10 May 2006 22:37:35 -0000	1.20
+++ Makefile	21 May 2006 21:27:47 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	ogmrip
 PORTVERSION=	0.9.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	multimedia
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -19,9 +19,12 @@
 		oggenc:${PORTSDIR}/audio/vorbis-tools \
 		ogmmerge:${PORTSDIR}/multimedia/ogmtools \
 		lame:${PORTSDIR}/audio/lame \
-		gsed:${PORTSDIR}/textproc/gsed \
 		gocr:${PORTSDIR}/graphics/gocr
-RUN_DEPENDS=	${BUILD_DEPENDS}
+RUN_DEPENDS=	mencoder:${PORTSDIR}/multimedia/mplayer \
+		oggenc:${PORTSDIR}/audio/vorbis-tools \
+		ogmmerge:${PORTSDIR}/multimedia/ogmtools \
+		lame:${PORTSDIR}/audio/lame \
+		gocr:${PORTSDIR}/graphics/gocr
 LIB_DEPENDS=	xvidcore:${PORTSDIR}/multimedia/xvid \
 		dvdread:${PORTSDIR}/multimedia/libdvdread \
 		enchant:${PORTSDIR}/textproc/enchant
Index: files/patch-configure
===================================================================
RCS file: files/patch-configure
diff -N files/patch-configure
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-configure	21 May 2006 21:27:47 -0000
@@ -0,0 +1,23 @@
+--- configure.orig	Tue Jun 28 08:16:09 2005
++++ configure	Sun May 21 14:20:18 2006
+@@ -20713,11 +20713,6 @@
+ fi
+ 
+ fi
+-if ! "$SED_PROG" --version 2> /dev/null | head -n 1 | grep -q "GNU sed"; then
+-  { { echo "$as_me:$LINENO: error: Unable to GNU sed in the PATH. You need GNU sed to configure OGMRip. Find it on ftp://ftp.gnu.org/gnu/sed" >&5
+-echo "$as_me: error: Unable to GNU sed in the PATH. You need GNU sed to configure OGMRip. Find it on ftp://ftp.gnu.org/gnu/sed" >&2;}
+-   { (exit 1); exit 1; }; }
+-fi
+ 
+ 
+ GTK_REQUIRED=2.6.0
+@@ -21304,7 +21299,7 @@
+ 
+ 
+ if $MPLAYER_PROG | grep -q "MPlayer [0-1]\.[0-9]\+pre[0-9]\+.*"; then
+-  MPLAYER_PRE=`$MPLAYER_PROG | head -n 1 | $SED_PROG -e 's%MPlayer [0-1]\.[0-9]\+pre\([0-9]\+\).*%\1%'`
++  MPLAYER_PRE=`$MPLAYER_PROG | head -n 1 | $SED_PROG -e 's%MPlayer [0-1]\.[0-9]pre\([0-9]\).*%\1%'`
+ 
+ cat >>confdefs.h <<_ACEOF
+ #define MPLAYER_PRE $MPLAYER_PRE
--- ogmrip-no_gsed.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list