summaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-08-21 12:09:51 +0000
committerpav <pav@FreeBSD.org>2004-08-21 12:09:51 +0000
commit612fa447b8435d7dd5b3d75604d3073bcdb5e445 (patch)
treebb5163fab0165bacee057cdb7f6a3c17de7f6d5d /net-im
parent0c49e71fa2dc85ee76bc701655bc844a3f2a032e (diff)
downloadFreeBSD-ports-612fa447b8435d7dd5b3d75604d3073bcdb5e445.zip
FreeBSD-ports-612fa447b8435d7dd5b3d75604d3073bcdb5e445.tar.gz
- Patch gettext shlib version in binary
PR: ports/70755 Submitted by: Seth Kingsley <sethk@magnesium.net> (maintainer)
Diffstat (limited to 'net-im')
-rw-r--r--net-im/ymessenger/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/net-im/ymessenger/Makefile b/net-im/ymessenger/Makefile
index 943370d..195b1d5 100644
--- a/net-im/ymessenger/Makefile
+++ b/net-im/ymessenger/Makefile
@@ -8,7 +8,7 @@
PORTNAME= ymessenger
PORTVERSION= 1.0.4
-PORTREVISION= 2
+PORTREVISION= 3
PORTEPOCH= 20020902
CATEGORIES= net
MASTER_SITES= http://public.yahoo.com/~mmk/
@@ -31,6 +31,8 @@ LIB_DEPENDS+= c.4:${PORTSDIR}/misc/compat4x
ONLY_FOR_ARCHS= i386
+GETTEXT_MAJOR= 6
+
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/bin/ymessenger ${PREFIX}/bin
${MKDIR} ${PREFIX}/libexec/ymessenger
@@ -47,5 +49,8 @@ do-install:
post-patch:
${REINPLACE_CMD} -e 's:%%PREFIX%%:${PREFIX}:g' ${WRKDIR}/bin/ymessenger
+ @${CHMOD} +w ${WRKDIR}/bin/ymessenger.bin
+ ${ECHO} ${GETTEXT_MAJOR} | dd bs=1 count=1 conv=notrunc seek=43202 \
+ of=${WRKDIR}/bin/ymessenger.bin
.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud