From owner-freebsd-ports Mon Jul 22 10:35:23 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 445DA37B400; Mon, 22 Jul 2002 10:35:19 -0700 (PDT) Received: from mile.nevermind.kiev.ua (office.netstyle.com.ua [213.186.199.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6914543E4A; Mon, 22 Jul 2002 10:35:17 -0700 (PDT) (envelope-from never@mile.nevermind.kiev.ua) Received: from mile.nevermind.kiev.ua (never@localhost [127.0.0.1]) by mile.nevermind.kiev.ua (8.12.3/8.12.3) with ESMTP id g6MHZEup022450; Mon, 22 Jul 2002 20:35:14 +0300 (EEST) (envelope-from never@mile.nevermind.kiev.ua) Received: (from never@localhost) by mile.nevermind.kiev.ua (8.12.3/8.12.3/Submit) id g6MHZDG9022449; Mon, 22 Jul 2002 20:35:13 +0300 (EEST) Date: Mon, 22 Jul 2002 20:35:12 +0300 From: Alexandr Kovalenko To: Michael Carlson Cc: dinoex@FreeBSD.ORG, ports@FreeBSD.ORG Subject: Re: FreeBSD Port: licq-qt-gui-1.0.4 Message-ID: <20020722173512.GB22176@nevermind.kiev.ua> References: <3D5657E5.7050506@llnl.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <3D5657E5.7050506@llnl.gov> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, Michael Carlson! On Sun, Aug 11, 2002 at 12:26:13PM +0000, you wrote: > Sorry to bother you, but I was wondering if there was a fix for those > who have QT-3 installed? I seem to have a problem making any port that > required QT-2.x, as it doest not use QT-3 due to some incompatibility. First of all, you should use licq-devel, add WITH_LICQ_DEVEL=yes to your /etc/make.conf. Then install /usr/ports/net/licq-devel Then apply following patch in /usr/ports/net/licq-qt-gui folder: --- Makefile.orig Mon Jul 22 16:26:04 2002 +++ Makefile Mon Jul 22 16:42:14 2002 @@ -12,15 +12,24 @@ MAINTAINER= dinoex@FreeBSD.org USE_AUTOMAKE= yes -USE_QT_VER= 2 CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" \ - LIBS="${PTHREAD_LIBS}" + LIBS="${PTHREAD_LIBS}" KDEDIR="/usr/local" +CONFIGURE_ARGS+= --with-kde + +.if defined(USE_QT3) +USE_QT_VER= 3 +.else +USE_QT_VER= 2 +MAKE_ENV+= MOC=${X11BASE}/bin/moc2 +.endif +.if !defined(USE_QT3) post-patch: @${PERL5} -pi -e 's|libqt-mt.so.2|libqt2-mt.so.4|g;' \ -e 's|-lqt-mt|-lqt2-mt|g;' -e 's|libqt.so|libqt2.so|g;' \ -e 's|-lqt$$|-lqt2|g;' ${WRKSRC}/acinclude.m4 +.endif pre-configure: @(cd ${WRKSRC} && ${ACLOCAL}) Then build licq-qt-gui with "make USE_QT3=yes". If you don't have KDE3, then remove KDEDIR="/usr/local" and CONFIGURE_ARGS+= --with-kde -- NEVE-RIPE Ukrainian FreeBSD User Group http://uafug.org.ua/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message