ports/73605: patch that makes ermixers use of X11/Qt optional

Geert Hendrickx geert.hendrickx at ua.ac.be
Sat Nov 6 09:50:31 UTC 2004


>Number:         73605
>Category:       ports
>Synopsis:       patch that makes ermixers use of X11/Qt optional
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 06 09:50:30 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Geert Hendrickx
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
Univerisity of Antwerp
>Environment:
System: FreeBSD gemini.lori.mine.nu 4.10-STABLE FreeBSD 4.10-STABLE #0: Mon Nov 1 19:12:45 CET 2004 geert at gemini.lori.mine.nu:/usr/obj/usr/src/sys/GEMINI i386
>Description:
	ermixer is an audio mixer tool which has both an ncurses and a X11/Qt interface.  It works fine just as an ncurses tool (without the Qt interface) though, so that should be an option.  
>How-To-Repeat:
	
>Fix:
--- Makefile.diff begins here ---
--- /usr/ports/audio/ermixer/Makefile	Thu Feb  5 21:36:55 2004
+++ Makefile	Sat Nov  6 10:36:27 2004
@@ -16,14 +16,17 @@
 MASTER_SITE_SUBDIR=	${PORTNAME}
 
 MAINTAINER=	ports at FreeBSD.org
-COMMENT=	A command-line, ncurses, and Qt-GUI OSS audio mixer
+COMMENT=	A command-line, ncurses, and (optional) Qt-GUI OSS audio mixer
 
+.if !defined(WITHOUT_X11)
 USE_QT_VER=	3
+CONFIGURE_ARGS+=--enable-qt
+CONFIGURE_ENV+=	QTDIR="${X11BASE}"
+.endif 
+
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS+=--enable-qt
 
-CONFIGURE_ENV+=	QTDIR="${X11BASE}"
 CONFIGURE_ENV+=	LDFLAGS="${PTHREAD_LIBS} -L${X11BASE}/lib"
 CONFIGURE_ENV+=	CPPFLAGS="${PTHREAD_CFLAGS} -I${X11BASE}/include"
 PLIST_FILES=	bin/ermixer
--- Makefile.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list