Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Mar 2002 18:20:56 -0500 (EST)
From:      Igor Roshchin <str@giganda.komkon.org>
To:        ports@freebsd.org
Subject:   png
Message-ID:  <200203052320.g25NKuM28273@giganda.komkon.org>

next in thread | raw e-mail | index | archive | help

Hello!

There is what appears to be a typo in the Makefile for
ghostscript-gnu, that I just downloaded from ftp.freebsd.org
# $FreeBSD: ports/print/ghostscript-gnu/Makefile,v 1.68 2002/02/01 14:07:17 murr
ay Exp $

It has a line:
LIB_DEPENDS=    png.5:${PORTSDIR}/graphics/png

I believe it should be
LIB_DEPENDS=    png:${PORTSDIR}/graphics/png

(notice ".5" in the current version of it)

This problem prevents the port to be built if I already have "png" ports
installed earlier. Obviously, the make for ghostscript-gnu checks, and
sees that png.5 is not registered as being installed, and then
starts building and installing png.5, that is located 
in ${PORTSDIR}/graphics/png
That make process sees that png is installed, and thus refuses to install it,
returning an error, thus the original make process stops.

The following simple patch does it:

--- ghostscript-gnu/Makefile    Sat Feb  2 09:04:01 2002
+++ ghostscript-gnu/Makefile.new Tue Mar  5 18:10:23 2002
@@ -28,7 +28,7 @@
 MAINTAINER=    ports@FreeBSD.org
 
 BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/graphics/jpeg:extract
-LIB_DEPENDS=   png.5:${PORTSDIR}/graphics/png
+LIB_DEPENDS=   png:${PORTSDIR}/graphics/png
 
 USE_BZIP2=     yes
 USE_GMAKE=     yes


Igor

PS. If you reply, please Cc: to me, I am not on the ports list.

Igor Roshchin
System Administrator
KomKon Sites

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203052320.g25NKuM28273>