Bug 37776 - Update port: misc/qbrew upgrade to qbrew-0.3.1
Summary: Update port: misc/qbrew upgrade to qbrew-0.3.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-05 22:10 UTC by David Johnson
Modified: 2002-05-14 23:42 UTC (History)
0 users

See Also:


Attachments
file.diff (156 bytes, patch)
2002-05-05 22:10 UTC, David Johnson
no flags Details | Diff
file.diff (1002 bytes, patch)
2002-05-05 22:10 UTC, David Johnson
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Johnson 2002-05-05 22:10:02 UTC
Update misc/qbrew to version 0.3.1, and modify to build for either qt23 or qt30

Fix: PORTNAME=	qbrew
-PORTVERSION=	0.3.0
+PORTVERSION=	0.3.1
 CATEGORIES=	misc
 MASTER_SITES=	http://www.usermode.org/code/

 MAINTAINER=	david@usermode.org

-USE_QT_VER=	2
 GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
+
+QT_VERSION?=	2
+
+.if ${QT_VERSION} == "3"
+USE_QT_VER=	3
+CONFIGURE_ARGS+=--enable-threads
+pre-everything::
+	@${ECHO_MSG}
+	@${ECHO_MSG} "Configuring for use with Qt 3.x libraries."
+	@${ECHO_MSG} "If you want to compile with Qt 2.x  support,"
+	@${ECHO_MSG} "hit Ctrl-C right now and use \"make QT_VERSION=2\""
+	@${ECHO_MSG}
+.else
+USE_QT_VER=	2
+pre-everything::
+	@${ECHO_MSG}
+	@${ECHO_MSG} "Configuring for use with Qt 2.x libraries."
+	@${ECHO_MSG} "If you want to compile with Qt 3.x  support,"
+	@${ECHO_MSG} "hit Ctrl-C right now and use \"make QT_VERSION=3\""
+	@${ECHO_MSG}
+.endif
+
+post-install:
+	strip ${PREFIX}/bin/qbrew

 .include <bsd.port.mk>
Comment 1 Patrick Li freebsd_committer 2002-05-14 23:41:45 UTC
State Changed
From-To: open->closed

Committed, Thanks!