ports/60231: maintainer update: ports/graphics/xnview
Serge Negodyuck
petr at petrovich.kiev.ua
Sun Dec 14 14:30:14 UTC 2003
>Number: 60231
>Category: ports
>Synopsis: maintainer update: ports/graphics/xnview
>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: Sun Dec 14 06:30:09 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Serge Negodyuck
>Release: FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD petrovich.com.ua 4.9-STABLE FreeBSD 4.9-STABLE #1: Thu Oct 30 13:42:17 EET 2003 root at petrovich.com.ua:/home/obj/usr/src/sys/PETR i386
>Description:
Compat4x is not needed on 4.x box to build ports/graphics/xnview.
Having compat4x dependency in Makefile may cause some probles with batch building
(see http://dosirak.kr.freebsd.org/errorlogs/i386-4-latest/xnview-1.50.log )
and portupgrade utilily needs to run pkgdb to remove comapt4x dependency. (It is not installed
because libc.4 is present in base system)
>How-To-Repeat:
n/a
>Fix:
Apply following patch:
--- Makefile.orig Tue Jun 24 14:57:27 2003
+++ Makefile Sun Dec 14 16:12:16 2003
@@ -15,14 +15,18 @@
MAINTAINER= petr at petrovich.kiev.ua
COMMENT= An easy graphics viewer / converter
-LIB_DEPENDS= c.4:${PORTSDIR}/misc/compat4x
-
ONLY_FOR_ARCHS= i386
NO_BUILD= yes
USE_X_PREFIX= yes
WRKSRC= ${WRKDIR}/XnView-1.50-x86-unknown-FreeBSD4.x-static
INSTALL_SLIB= yes
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500000
+LIB_DEPENDS+= c.4:${PORTSDIR}/misc/compat4x
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/xnview ${PREFIX}/bin/xnview
${INSTALL_PROGRAM} ${WRKSRC}/bin/nview ${PREFIX}/bin/nv
@@ -37,4 +41,4 @@
${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list