Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Mar 2009 12:10:04 GMT
From:      Timothy Beyer <beyert@cs.ucr.edu>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/132280: audio/snd: Fix guile support, add motif support
Message-ID:  <200903031210.n23CA4t0026851@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/132280; it has been noted by GNATS.

From: Timothy Beyer <beyert@cs.ucr.edu>
To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Cc: Timothy Beyer <beyert@cs.ucr.edu>
Subject: Re: ports/132280: audio/snd: Fix guile support, add motif support
Date: Tue, 03 Mar 2009 04:03:16 -0800

 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 ---



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