Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Oct 2002 16:36:50 +0100 (CET)
From:      dirk.meyer@dinoex.sub.org
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/44533: avifiles does not resolve dependecy to qt
Message-ID:  <200210271536.g9RFaocP046982@home.dinoex.sub.de>

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

>Number:         44533
>Category:       ports
>Synopsis:       avifiles does not resolve dependecy to qt
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 27 07:40:01 PST 2002
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

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?200210271536.g9RFaocP046982>