1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00

- Patch gettext shlib version in binary

PR:		ports/70755
Submitted by:	Seth Kingsley <sethk@magnesium.net> (maintainer)
This commit is contained in:
Pav Lucistnik 2004-08-21 12:09:51 +00:00
parent 5a88187978
commit de7d56187b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=116920
2 changed files with 12 additions and 2 deletions

View File

@ -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>

View File

@ -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>