Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jan 2000 17:02:18 +1000
From:      Phil Homewood <philh@mincom.com>
To:        Dan Langille <dan@freebsddiary.org>
Cc:        questions@FreeBSD.ORG
Subject:   Re: webalizer won't install without X <== bad!
Message-ID:  <20000125170218.M17287@mincom.com>
In-Reply-To: <200001250412.RAA12114@ducky.nz.freebsd.org>; from Dan Langille on Tue, Jan 25, 2000 at 05:12:42PM %2B1300
References:  <200001250353.QAA11461@ducky.nz.freebsd.org>; <20000125140543.J17287@mincom.com> <200001250412.RAA12114@ducky.nz.freebsd.org>

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

--oC1+HKm2/end4ao3
Content-Type: text/plain; charset=us-ascii

Dan Langille wrote:
> [root@ducky:/usr/ports/www/webalizer] # make
> ===>  Extracting for webalizer-1.30.4
> >> Checksum OK for webalizer-1.30-04-src.tgz.
> ===>   webalizer-1.30.4 depends on shared library: gd.0 - not found
> ===>    Verifying install for gd.0 in /usr/ports/graphics/gd
> ===>  Extracting for gd-1.7.3
> >> Checksum OK for gd-1.7.3.tar.gz.
> ===>   gd-1.7.3 depends on shared library: png.3 - found

So far so good...

> ===>   gd-1.7.3 depends on shared library: ttf.4 - not found

Ah. My gd install (also 1.7.3) doesn't depend on ttf.4 or X11.
Looking at the makefile...

----------------------------
revision 1.15
date: 1999/12/25 02:01:47;  author: steve;  state: Exp;  lines: +6 -2
Add ttf and xpm support to this port.

PR:             15437
Submitted by:   Igor Vinokurov <igor@zynaps.ru>
----------------------------


That's a bug (requiring X11 without honouring NO_X11) in my books.

Try the attached patch. If it works, let me know and I'll send-pr. :)

-- 
This transmission is for the intended addressee only and is confidential
information. If you have received this transmission in error, please delete
it and notify the sender. The contents of this email are the opinion of the
writer and are not endorsed by Mincom Ltd unless expressly stated otherwise.

--oC1+HKm2/end4ao3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="Makefile.diff"

--- Makefile.orig	Tue Jan 25 16:54:02 2000
+++ Makefile	Tue Jan 25 16:57:30 2000
@@ -13,11 +13,15 @@
 
 MAINTAINER=	ports@FreeBSD.org
 
+.if defined(NO_X11) && ${NO_X11} == YES
+LIB_DEPENDS=	png.3:${PORTSDIR}/graphics/png
+.else
 LIB_DEPENDS=	png.3:${PORTSDIR}/graphics/png \
 		ttf.4:${PORTSDIR}/print/freetype \
 		Xpm.4:${PORTSDIR}/graphics/xpm
 
 USE_XLIB=	YES
+.endif
 
 pre-install:
 	${MKDIR} ${PREFIX}/include/gd

--oC1+HKm2/end4ao3--


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




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