ports/72495: net/gift: WITH_LIBMAGIC dependency fix

Rene Ladan r.c.ladan at student.tue.nl
Sun Oct 10 23:30:33 UTC 2004

>Number:         72495
>Category:       ports
>Synopsis:       net/gift: WITH_LIBMAGIC dependency fix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 10 23:30:32 GMT 2004
>Originator:     Rene Ladan
>Release:        FreeBSD 5.3-BETA7 i386
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 at 82-168-140-74-bbxl.xdsl.tiscali.nl:/usr/obj/usr/src/sys/RENE_2004-09-05d i386

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

(make sure sysutils/file is not installed)
#cd /usr/ports/net/gift
#make WITH_LIBMAGIC=yes install clean
install sysutils/file first, or do not define WITH_LIBMAGIC

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 \
 .if defined(WITH_LIBMAGIC)
+BUILD_DEPENDS+=	${LOCALBASE}/include/magic.h:${PORTSDIR}/sysutils/file
 LIB_DEPENDS+=	magic.1:${PORTSDIR}/sysutils/file

More information about the freebsd-ports-bugs mailing list