Skip site navigation (1)Skip section navigation (2)
Date:      10 Oct 2002 15:02:01 -0700
From:      Seth Kingsley <sethk@meowfishies.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/43901: [MAINTAINER PATCH] update net/ymessenger port
Message-ID:  <20021010220201.65061.qmail@magnesium.net>

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

>Number:         43901
>Category:       ports
>Synopsis:       [MAINTAINER PATCH] update net/ymessenger port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 10 15:10:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Seth Kingsley
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD 5.0-CURRENT #11: Tue Oct  1 02:32:11 PDT 2002
sethk@neko.home.meowfishies.com:/usr/src/sys/i386/compile/NEKO

>Description:
	Fix issues documented in PRs ports/43152 and ports/42128.

	+ Avoid using a dash in PORTVERSION.
	+ Patch the binaries for the latest version of gettext, and add
	  it to LIB_DEPENDS.
	+ Require 4.x libc. 

>How-To-Repeat:
	Attempt to run ymessenger on 5.0-CURRENT without an old gettext
	version installed.

>Fix:

Index: Makefile
===================================================================
RCS file: /stor/ncvs/ports/net/ymessenger/Makefile,v
retrieving revision 1.10
diff -u -p -r1.10 Makefile
--- Makefile	3 Sep 2002 01:06:26 -0000	1.10
+++ Makefile	9 Oct 2002 19:48:58 -0000
@@ -7,14 +7,22 @@
 #
 
 PORTNAME=	ymessenger
-PORTVERSION=	0.99.19-1
+PORTVERSION=	0.99.19.1
+PORTEPOCH=	20020902
 CATEGORIES=	net
 MASTER_SITES=	http://download.yahoo.com/dl/unix/fbsd45/
+DISTNAME=	${PORTNAME}-${PORTVERSION:C/\.(.+)\.(.+)$/.\1-\2/g}
 EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	sethk@meowfishies.com
 
-LIB_DEPENDS=	intl.4:${PORTSDIR}/devel/gettext
+LIB_DEPENDS=	gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500000
+LIB_DEPENDS+=    c.4:${PORTSDIR}/misc/compat4x
+.endif
 
 ONLY_FOR_ARCHS=	i386
 
@@ -40,5 +48,9 @@ do-install:
 
 post-patch:
 	${REINPLACE_CMD} -e 's:%%PREFIX%%:${PREFIX}:g' ${WRKDIR}/bin/ymessenger
+	${ECHO} 4 | dd bs=1 count=1 conv=notrunc seek=35437 \
+		of=${WRKDIR}/bin/ymessenger.bin
+	${ECHO} 4 | dd bs=1 count=1 conv=notrunc seek=62665 \
+		of=${WRKDIR}/lib/libgtkhtml.so.21
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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