From dm@home.dinoex.sub.de  Sun Oct 27 07:36:59 2002
Return-Path: <dm@home.dinoex.sub.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id F3A3637B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 27 Oct 2002 07:36:58 -0800 (PST)
Received: from net2.dinoex.sub.org (net2.dinoex.de [212.184.201.182])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 7050D43E6E
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 27 Oct 2002 07:36:56 -0800 (PST)
	(envelope-from dm@home.dinoex.sub.de)
Received: from home.dinoex.sub.de (home [217.6.200.196])
	by net2.dinoex.sub.org (8.12.6/8.12.6) with ESMTP id g9RFaln8004504
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 27 Oct 2002 16:36:48 +0100 (CET)
	(envelope-from dm@home.dinoex.sub.de)
Received: (from dm@localhost)
	by home.dinoex.sub.de (8.12.6/8.12.6/Submit) id g9RFaocP046982;
	Sun, 27 Oct 2002 16:36:50 +0100 (CET)
	(envelope-from dm)
Message-Id: <200210271536.g9RFaocP046982@home.dinoex.sub.de>
Date: Sun, 27 Oct 2002 16:36:50 +0100 (CET)
From: dirk.meyer@dinoex.sub.org
Reply-To: dirk.meyer@dinoex.sub.org
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: avifiles does not resolve dependecy to qt
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         44533
>Category:       ports
>Synopsis:       avifiles does not resolve dependecy to qt
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lioux
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 27 07:40:01 PST 2002
>Closed-Date:    Mon Feb 03 11:53:30 PST 2003
>Last-Modified:  Mon Feb 03 11:53:30 PST 2003
>Originator:     Dirk Meyer
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
privat
>Environment:
System: FreeBSD 4.7-STABLE i386

>Description:

	avifile package is not build.

	USE_QT_VER ist not passed, as bsd.prot.pre.mk
	is already included.

>How-To-Repeat:

	Build avifile with no QT installed.

===>  Configuring for avifile-0.7.16.20020913,2
avifile configure options: --with-gnu-ld --enable-iconv --disable-divx4 --enable
-release --disable-ac3passthrough --enable-a52 --disable-ffmpeg-a52bin --with-a5
2-prefix=/usr/local --with-sdl-prefix=/usr/local --with-sdl-exec-prefix=/usr/loc
al --with-vorbis-prefix=/usr/local --with-ogg-prefix=/usr/local --with-xvid-pref
ix=/usr/local --enable-x86opt --enable-win32 --with-win32-path=/usr/local/lib/wi
n32 --x-libraries=/usr/X11R6/lib --x-includes=/usr/X11R6/include --prefix=/usr/local
[...]
===>  Building package for avifile-0.7.16.20020913,2
tar: bin/avimake: Cannot stat: No such file or directory
tar: bin/aviplay: Cannot stat: No such file or directory 
tar: lib/avifile/mjpeg.la: Cannot stat: No such file or directory
tar: lib/avifile/mjpeg.so: Cannot stat: No such file or directory
tar: lib/libqavm.a: Cannot stat: No such file or directory
tar: lib/libqavm.la: Cannot stat: No such file or directory
tar: lib/libqavm.so: Cannot stat: No such file or directory
tar: lib/libqavm.so.0: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
pkg_create: make_dist: tar command failed with code 512 
Creating package /usr/ports/packages/All/avifile-0.7.16.20020913,2.tgz
Registering depends: sdl-1.2.4_1 aalib-1.4.r5_1 Mesa-3.4.2_2 liba52-0.7.4 mad-esound-0.14.2b_2 gettext-0.11.5_1 XFree86-libraries-4.2.1_2 expat-1.95.5 imake-4.2.0_1 djbfft-0.76 esound-0.2.29 libgnugetopt-1.2 libiconv-1.8_1 libvorbis-1.0_1,3 libogg-1.0_1,3 libaudiofile-0.2.3 pkgconfig-0.13.0 freetype2-2.1.2_1 svgalib-1.4.2_1 win32-codecs-011002.0.0.60 xvid-0.20020412_1.
Creating gzip'd tar ball in '/usr/ports/packages/All/avifile-0.7.16.20020913,2.tgz'
*** Error code 1

>Fix:

	move USE_TQ_VER before include
	substitue X11BASE as it is not defined yet.

--- Makefile.orig	Sun Oct  6 19:45:17 2002
+++ Makefile	Sun Oct 27 16:35:13 2002
@@ -51,6 +51,20 @@
 DIFF?=		/usr/bin/diff
 FMT?=		/usr/bin/fmt
 
+# qt
+.if !defined(WITHOUT_QT)
+. if defined(AVIFILE_WITH_QT2)
+USE_QT_VER=	2
+. else
+USE_QT_VER=	3
+. endif
+PLIST_SUB+=	QT=""
+.else
+CONFIGURE_ARGS+=	--without-qt
+
+PLIST_SUB+=	QT="@comment "
+.endif
+
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} != "i386"
@@ -95,20 +109,6 @@
 .else
 CONFIGURE_ARGS+=	--disable-mad
 PLIST_SUB+=	MAD="@comment "
-.endif
-
-# qt
-.if !defined(WITHOUT_QT)
-. if exists(${X11BASE}/include/qt2/qapp.h)
-USE_QT_VER=	2
-. else
-USE_QT_VER=	3
-. endif
-PLIST_SUB+=	QT=""
-.else
-CONFIGURE_ARGS+=	--without-qt
-
-PLIST_SUB+=	QT="@comment "
 .endif
 
 # sdl
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->lioux 
Responsible-Changed-By: lioux 
Responsible-Changed-When: Sun Oct 27 11:40:56 PST 2002 
Responsible-Changed-Why:  
I will handle this 

http://www.freebsd.org/cgi/query-pr.cgi?pr=44533 
State-Changed-From-To: open->closed 
State-Changed-By: lioux 
State-Changed-When: Mon Feb 3 11:53:28 PST 2003 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=44533 
>Unformatted:
