From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Mar 3 12:02:58 2009 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 768D7106577F; Tue, 3 Mar 2009 12:02:58 +0000 (UTC) (envelope-from beyert@cs.ucr.edu) Received: from sentoku.ucr.edu (sentoku.ucr.edu [138.23.214.80]) by mx1.freebsd.org (Postfix) with ESMTP id 4FB748FC12; Tue, 3 Mar 2009 12:02:58 +0000 (UTC) (envelope-from beyert@cs.ucr.edu) Received: from aeonserv.aeonnet (cpe-76-90-217-240.socal.res.rr.com [76.90.217.240]) by sentoku.ucr.edu (MOS 3.10.3-GA) with ESMTP id ECJ13563 (AUTH tbeye001); Tue, 3 Mar 2009 04:02:57 -0800 (PST) Date: Tue, 03 Mar 2009 04:03:16 -0800 Message-ID: <87ljrmg6ez.wl%beyert@cs.ucr.edu> From: Timothy Beyer To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org In-Reply-To: <200903031120.n23BK4d0087981@freefall.freebsd.org> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 MULE XEmacs/21.4 (patch 21) (Educational Television) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Junkmail-Status: score=0/50, host= Cc: Timothy Beyer Subject: Re: ports/132280: audio/snd: Fix guile support, add motif support X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2009 12:03:09 -0000 Hi again, Use this patch instead of my initial one, this keeps GTK as the default (since most people would probably prefer GTK over Motif) and adds USE_MOTIF when motif is enabled, which should prevent build errors if certain Motif ports are not yet installed. This still doesn't fix the S7 support, though. --- Makefile-improved.diff begins here --- --- Makefile.orig 2009-02-27 15:30:14.000000000 -0800 +++ Makefile 2009-03-03 03:52:00.000000000 -0800 @@ -22,7 +22,9 @@ LADSPA "Include support for LADSPA plugins" on \ NLS "Native Language Support" on \ RUBY "Use Ruby as the extension language" off \ - X11 "Make Snd with Gtk+ graphics support" on + MOTIF "Make Snd with Motif graphics support" off \ + GTK "Make Snd with Gtk+ graphics support" on \ + X11 "Make Snd with GUI support" on USE_GNOME= gnometarget GNU_CONFIGURE= yes @@ -61,6 +63,7 @@ .endif .if !defined(WITHOUT_GUILE) +CONFIGURE_ARGS+= --with-guile LIB_DEPENDS+= guile.20:${PORTSDIR}/lang/guile PLIST_SUB+= SCHEME="" .else @@ -96,14 +99,21 @@ PLIST_SUB+= SCHEME="@comment " .endif -.if defined(WITHOUT_X11) -CONFIGURE_ARGS+= --with-no-gui -PLIST_SUB+= X11="@comment " -.else +.if defined(WITH_GTK) USE_GNOME+= gtk20 CONFIGURE_ARGS+= --with-gtk PLIST_SUB+= X11="" .endif +.if defined(WITH_MOTIF) +USE_MOTIF= yes +CONFIGURE_ARGS+= --with-motif +PLIST_SUB+= X11="" +.endif + +.if defined(WITHOUT_X11) +CONFIGURE_ARGS+= --with-no-gui +PLIST_SUB+= X11="@comment " +.endif post-patch: @${REINPLACE_CMD} -e 's|^ _Complex| Vaiolate _Complex|g ; \ --- Makefile-improved.diff ends here ---