summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-08-21 12:09:51 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-08-21 12:09:51 +0000
commitde7d56187b8c5d2b0e48089b207dc7d8d6ebefea (patch)
treebaa2434a03e63ddb1bad6e1c1f82669d66219b18 /net
parentUnbreak with gcc 3.4 by removing -fvolatile from CFLAGS (diff)
- Patch gettext shlib version in binary
PR: ports/70755 Submitted by: Seth Kingsley <sethk@magnesium.net> (maintainer)
Notes
Notes: svn path=/head/; revision=116920
Diffstat (limited to 'net')
-rw-r--r--net/ymessenger/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/net/ymessenger/Makefile b/net/ymessenger/Makefile
index 943370daa9b1..195b1d54fd20 100644
--- a/net/ymessenger/Makefile
+++ b/net/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>