ports/93959: [PATCH] multimedia/mplayer: bump PORTREVISION to help with libtool upgrade

Ion-Mihai IOnut Tetcu itetcu at people.tecnik93.com
Tue Feb 28 22:40:04 UTC 2006


>Number:         93959
>Category:       ports
>Synopsis:       [PATCH] multimedia/mplayer: bump PORTREVISION to help with libtool upgrade
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 28 22:40:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Ion-Mihai "IOnut" Tetcu
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
Tecnik'93 
>Environment:


System: FreeBSD 6.1-PRERELEASE #0: Fri Feb 17 08:33:28 EET 2006
    root at it.buh.tecnik93.com:/usr/obj/usr/src/sys/IT6_B_P



>Description:


After a
 portupgrade -Rfp `ls -1 /var/db/pkg/`
and a few
 portupgrade -Rp ` portversion -vL= | sed 's/[ ]*<.*$//' `
which left me with only jdk-1.5.0p2_2 being outdated acording to portversion -vL=,
libchk says:
Unresolvable link(s) found in: /usr/local/bin/mplayer
        libgmodule12.so.3
        libgtk12.so.2
        libglib12.so.3
        libgdk12.so.2

The port was verified to link, build and run correctly after applying the patch.

While here:
move pkg-message --> file/pkg-messege.in, pet portlint a little with this and make it a little more clear
(typo: Just cd to the ports directory --> cd  %%PORTSDIR%%/%%PKGORIGIN%%)


This port needs OPTIONS badly !


>How-To-Repeat:





>Fix:


--- mplayer.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/multimedia/mplayer/Makefile,v
retrieving revision 1.128
diff -u -r1.128 Makefile
--- Makefile	9 Jan 2006 17:17:11 -0000	1.128
+++ Makefile	28 Feb 2006 22:23:21 -0000
@@ -270,7 +270,7 @@
 
 PORTNAME=	mplayer
 PORTVERSION=	0.99.7
-PORTREVISION=	9
+PORTREVISION=	10
 CATEGORIES=	multimedia audio ipv6
 MASTER_SITES=	http://www1.mplayerhq.hu/MPlayer/releases/ \
 		http://www2.mplayerhq.hu/MPlayer/releases/ \
@@ -291,6 +291,9 @@
 		http://www.rrr.de/~riggs/mplayer/
 PATCH_DIST_STRIP=	-p1
 
+SUB_FILES+=	pkg-message
+SUB_LIST+=	PORTSDIR=${PORTSDIR} PKGORIGIN=${PKGORIGIN}
+
 LIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png
 
 USE_BZIP2=	yes
@@ -332,7 +335,6 @@
 
 WANT_GNOME=	yes
 WANT_SDL=	yes
-USE_REINPLACE=	yes
 MAN1=		mplayer.1
 MANCOMPRESSED=	no
 
@@ -928,7 +930,7 @@
 .if !defined(WITHOUT_GUI)
 	@${LN} -sf ${PREFIX}/bin/mplayer ${PREFIX}/bin/gmplayer
 .endif
-	@${CAT} ${.CURDIR}/pkg-message
+	@${CAT} ${PKGMESSAGE}
 
 install-user:
 	@${PERL} ${FILESDIR}/install-user
Index: pkg-message
===================================================================
RCS file: pkg-message
diff -N pkg-message
--- pkg-message	11 Jun 2004 18:08:50 -0000	1.9
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,15 +0,0 @@
-This port provides a simple and easy to use
-tool to provide fonts in OSD.
-Just cd to the ports directory and type
-
-make install-user
-
-Note: This is only for the bitmap fonts! If you've compiled
-mplayer with truetype support, this won't work.
-
-Please take a look at docs in
-/usr/local/share/doc/mplayer
-
-If you encounter strange problems, please have a look at
-http://www.rrr.de/~riggs/mplayer/faq_en.html
-before throwing stones at me :-)
Index: files/pkg-message.in
===================================================================
RCS file: files/pkg-message.in
diff -N files/pkg-message.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/pkg-message.in	28 Feb 2006 22:23:21 -0000
@@ -0,0 +1,17 @@
+===============================================================================
+This port provides a simple and easy to use tool to provide fonts in OSD.
+Just 
+ cd %%PORTSDIR%%/%%PKGORIGIN%%
+and type
+ make install-user
+
+Note: This is only for the bitmap fonts! If you've compiled
+mplayer with truetype support, this won't work.
+
+Please take a look at docs in
+%%DOCSDIR%%
+
+If you encounter strange problems, please have a look at 
+http://www.rrr.de/~riggs/mplayer/faq_en.html
+before throwing stones at me :-)
+===============================================================================
--- mplayer.diff ends here ---



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



More information about the freebsd-ports-bugs mailing list