Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Aug 1999 02:28:56 -0700
From:      Chris Piazza <cpiazza@home.net>
To:        asami@FreeBSD.org
Cc:        FreeBSD Ports <ports@FreeBSD.org>
Subject:   USE_QT2 in bsd.port.mk
Message-ID:  <19990829022856.H56753@norn.ca.eu.org>

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

I recently committed the (long awaited) qt2 port, and I'd
like to get the functionality of USE_QT2 into bsd.port.mk.
It requires USE_NEWGCC because qt2 had to be built with it...
I'm not really sure of the wording on the comments, though.

-Chris
-- 
cpiazza@home.net              cpiazza@FreeBSD.org
"It's better to be quotable than to be honest."
                                   --Tom Stoppard

Index: ports/Mk/bsd.port.mk
===================================================================
RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.317
diff -u -r1.317 bsd.port.mk
--- bsd.port.mk	1999/08/25 04:40:20	1.317
+++ bsd.port.mk	1999/08/29 09:28:01
@@ -144,7 +144,8 @@
 #						target.
 # USE_X_PREFIX	- Says that the port installs in ${X11BASE}.  Implies USE_XLIB.
 # USE_XLIB		- Says that the port uses X libraries.
-# USE_QT		- Says that the port uses the latest version of qt toolkit.
+# USE_QT		- Says that the port uses version 1 of the qt toolkit.
+# USE_QT2		- Says that the port uses version 2 of the qt toolkit.
 #
 # Dependency checking.  Use these if your port requires another port
 # not in the list above.
@@ -656,6 +657,11 @@
 
 .if defined(USE_QT)
 LIB_DEPENDS+=	qt.2:${PORTSDIR}/x11-toolkits/qt142
+.endif
+
+.if defined(USE_QT2)
+LIB_DEPENDS+=	qt2.2:${PORTSDIR}/x11-toolkits/qt2
+USE_NEWGCC=	yes
 .endif
 
 .if exists(${PORTSDIR}/../Makefile.inc)


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?19990829022856.H56753>