Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jul 2002 20:35:12 +0300
From:      Alexandr Kovalenko <never@nevermind.kiev.ua>
To:        Michael Carlson <carlson39@llnl.gov>
Cc:        dinoex@FreeBSD.ORG, ports@FreeBSD.ORG
Subject:   Re: FreeBSD Port: licq-qt-gui-1.0.4
Message-ID:  <20020722173512.GB22176@nevermind.kiev.ua>
In-Reply-To: <3D5657E5.7050506@llnl.gov>
References:  <3D5657E5.7050506@llnl.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020722173512.GB22176>