Index: Makefile =================================================================== RCS file: /home/pcvs/ports/audio/snd/Makefile,v retrieving revision 1.72 diff -u -u -r1.72 Makefile --- Makefile 27 Feb 2009 17:41:15 -0000 1.72 +++ Makefile 3 Mar 2009 15:55:47 -0000 @@ -7,6 +7,7 @@ PORTNAME= snd PORTVERSION= 10.4 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= SF \ http://mirror.mcx2.org/ @@ -22,7 +23,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 +64,7 @@ .endif .if !defined(WITHOUT_GUILE) +CONFIGURE_ARGS+= --with-guile LIB_DEPENDS+= guile.20:${PORTSDIR}/lang/guile PLIST_SUB+= SCHEME="" .else @@ -96,14 +100,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 ; \