1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

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.

PR:		ports/43901
Submitted by:	Seth Kingsley <sethk@meowfishies.com>
This commit is contained in:
Edwin Groothuis 2002-11-07 13:38:32 +00:00
parent d44c501b21
commit 3d4422bc7a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=69662
2 changed files with 34 additions and 10 deletions

View File

@ -7,16 +7,16 @@
#
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
ONLY_FOR_ARCHS= i386
LIB_DEPENDS= gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf
USE_GNOMENG= yes
USE_GNOME= gtk12
@ -24,6 +24,14 @@ USE_REINPLACE= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500000
LIB_DEPENDS+= c.4:${PORTSDIR}/misc/compat4x
.endif
ONLY_FOR_ARCHS= i386
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/bin/ymessenger ${PREFIX}/bin
${MKDIR} ${PREFIX}/libexec/ymessenger
@ -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>

View File

@ -7,16 +7,16 @@
#
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
ONLY_FOR_ARCHS= i386
LIB_DEPENDS= gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf
USE_GNOMENG= yes
USE_GNOME= gtk12
@ -24,6 +24,14 @@ USE_REINPLACE= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500000
LIB_DEPENDS+= c.4:${PORTSDIR}/misc/compat4x
.endif
ONLY_FOR_ARCHS= i386
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/bin/ymessenger ${PREFIX}/bin
${MKDIR} ${PREFIX}/libexec/ymessenger
@ -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>