Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Oct 2004 01:28:52 +0200 (CEST)
From:      Rene Ladan <r.c.ladan@student.tue.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/72495: net/gift: WITH_LIBMAGIC dependency fix
Message-ID:  <200410102328.i9ANSqam038485@82-168-140-74-bbxl.xdsl.tiscali.nl>
Resent-Message-ID: <200410102330.i9ANUWUr072611@freefall.freebsd.org>

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

>Number:         72495
>Category:       ports
>Synopsis:       net/gift: WITH_LIBMAGIC dependency fix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 10 23:30:32 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Rene Ladan
>Release:        FreeBSD 5.3-BETA7 i386
>Organization:
>Environment:
System: FreeBSD 82-168-140-74-bbxl.xdsl.tiscali.nl 5.3-BETA7 FreeBSD 5.3-BETA7 #0: Tue Oct 5 22:35:15 CEST 2004 root@82-168-140-74-bbxl.xdsl.tiscali.nl:/usr/obj/usr/src/sys/RENE_2004-09-05d i386


>Description:
When sysutils/file is not yet installed, and WITH_LIBMAGIC is defined
when building net/gift, the configure script fails. 

>How-To-Repeat:
(make sure sysutils/file is not installed)
#cd /usr/ports/net/gift
#make WITH_LIBMAGIC=yes install clean
>Fix:
workaround:
install sysutils/file first, or do not define WITH_LIBMAGIC

fix:
apply patch

--- Makefile.orig	Fri Jun 11 12:49:44 2004
+++ Makefile	Mon Oct 11 00:30:10 2004
@@ -18,6 +18,7 @@
 LIB_DEPENDS=	vorbis.3:${PORTSDIR}/audio/libvorbis \
 		Magick.6:${PORTSDIR}/graphics/ImageMagick
 .if defined(WITH_LIBMAGIC)
+BUILD_DEPENDS+=	${LOCALBASE}/include/magic.h:${PORTSDIR}/sysutils/file
 LIB_DEPENDS+=	magic.1:${PORTSDIR}/sysutils/file
 .endif
 
>Release-Note:
>Audit-Trail:
>Unformatted:



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