diff options
Diffstat (limited to 'x11/gnustep-gui/Makefile')
-rw-r--r-- | x11/gnustep-gui/Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/x11/gnustep-gui/Makefile b/x11/gnustep-gui/Makefile index d50101cb758..fbf769c15d3 100644 --- a/x11/gnustep-gui/Makefile +++ b/x11/gnustep-gui/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2004/04/10 23:44:28 rh Exp $ +# $NetBSD: Makefile,v 1.14 2004/04/16 13:32:03 rh Exp $ # DISTNAME= gnustep-gui-0.9.2 @@ -18,6 +18,17 @@ CONFIGURE_ARGS+= --exec-prefix=${PREFIX}/libexec/GNUstep .include "../../graphics/jpeg/buildlink3.mk" .include "../../graphics/png/buildlink3.mk" .include "../../graphics/tiff/buildlink3.mk" + .include "../../mk/ossaudio.buildlink3.mk" + +.if !empty(${HAVE_OSS:M[Nn][Oo]}) && !exists(/usr/include/soundcard.h) && \ + !exists(/usr/include/sys/soundcard.h) && \ + !exists(/usr/include/machine/soundcard.h) +CONFIGURE_ARGS+=--disable-gsnd +PLIST_SUBST+= GSND="@comment " +.else +PLIST_SUBST+= GSND= +.endif + .include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" |