Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Oct 2000 10:24:10 +0100
From:      Roland Jesse <jesse@mail.CS.Uni-Magdeburg.De>
To:        will@FreeBSD.org
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/22381: New port: misc/mango
Message-ID:  <20001029102410.A25868@knecht.cs.uni-magdeburg.de>
In-Reply-To: <200010290126.SAA60418@freefall.freebsd.org>; from will@FreeBSD.org on Sat, Oct 28, 2000 at 06:26:26PM -0700
References:  <200010290126.SAA60418@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
will@FreeBSD.org wrote:
> Synopsis: New port: misc/mango
> 
> State-Changed-From-To: open->feedback
> State-Changed-By: will
> State-Changed-When: Sat Oct 28 18:25:12 PDT 2000
> State-Changed-Why: 
> I had to fix this to use QTDIR so it could find uic,

Thanks, I fixed that. The output of "diff -ruN mango.bak mango":

--- snip ---
diff -ruN /usr/ports/misc/mango/Makefile mango/Makefile
--- /usr/ports/misc/mango/Makefile      Sun Oct 29 09:43:20 2000
+++ mango/Makefile      Sat Oct 28 21:47:45 2000
@@ -16,8 +16,7 @@
 
 USE_BZIP2=     yes
 USE_QT2=       yes
-TMAKEENV=      TMAKEPATH=${PREFIX}/share/tmake/freebsd-g++
QTDIR=${X11BASE}
-MAKE_ENV+=     QTDIR=${X11BASE}
+TMAKEENV=      TMAKEPATH=${PREFIX}/share/tmake/freebsd-g++
 
 do-build:
        (cd ${WRKSRC}; ${SETENV} ${TMAKEENV} tmake -o Makefile mango.pro)
--- snap ---

> then it had the wrong
> place for the QT libs (include/qt as opposed to include/qt2),

This was a bug in the devel/tmake port. PR 22390 fixes that.

> then I got:
> c++ -c  -O -pipe -I/usr/local/include -I/usr/X11R6/include/qt2 -I/usr/X11R6/include -o moc_RecipeModel.o moc_RecipeModel.cpp
> moc_RecipeModel.cpp:45: new declaration `static void RecipeModel::staticMetaObject()'
> RecipeModel.hpp:23: ambiguates old declaration `static class QMetaObject * RecipeModel::staticMetaObject()'
> moc_RecipeModel.cpp: In function `void __static_initialization_and_destruction_0(int, int)':
> moc_RecipeModel.cpp:29: no matching function for call to `QMetaObjectInit::QMetaObjectInit (QMetaObject * (*)())'
> /usr/X11R6/include/qt2/qmetaobject.h:259: candidates are: QMetaObjectInit::QMetaObjectInit(void (*)())
> /usr/X11R6/include/qt2/qmetaobject.h:261:                 QMetaObjectInit::QMetaObjectInit(const QMetaObjectInit &)
> *** Error code 1

Hhhm, I cannot reproduce that. Do you have an old version of moc (i.e.
from QT < 2) which is used instead of the correct one?

Thanks for the feedback.

	Roland


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?20001029102410.A25868>