ports/70755: [MAINTAINER PATCH]: net-ymessenger and gettext linking errors.

Seth Kingsley sethk at magnesium.net
Sat Aug 21 04:40:32 UTC 2004


>Number:         70755
>Category:       ports
>Synopsis:       [MAINTAINER PATCH]: net-ymessenger and gettext linking errors.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 21 04:40:25 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Seth Kingsley
>Release:        FreeBSD 5.1-RELEASE i386
>Organization:
>Environment:

FreeBSD 5.2.1-RELEASE #1: Sat Jul 17 03:38:27 PDT 2004
sethk at kaneda.home.meowfishies.com:/usr/src/sys/i386/compile/KANEDA

>Description:
	Since the libintl major library version number has changed,
	net/ymessenger needs binary patching.

>How-To-Repeat:
	Attempt to run ymessenger on a system where libintl.so.4 does not
	exist.

>Fix:


--- Makefile.orig	Sun Jan 11 15:27:35 2004
+++ Makefile	Sun Jan 11 15:35:45 2004
@@ -31,6 +31,8 @@
 
 ONLY_FOR_ARCHS=	i386
 
+GETTEXT_MAJOR=	5
+
 do-install:
 	${INSTALL_SCRIPT} ${WRKDIR}/bin/ymessenger ${PREFIX}/bin
 	${MKDIR} ${PREFIX}/libexec/ymessenger
@@ -47,5 +49,7 @@
 
 post-patch:
 	${REINPLACE_CMD} -e 's:%%PREFIX%%:${PREFIX}:g' ${WRKDIR}/bin/ymessenger
+	${ECHO} ${GETTEXT_MAJOR} | dd bs=1 count=1 conv=notrunc seek=43202 \
+		of=${WRKDIR}/bin/ymessenger.bin
 
 .include <bsd.port.post.mk>

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



More information about the freebsd-ports-bugs mailing list