diff options
author | rh <rh@pkgsrc.org> | 2004-04-16 13:32:03 +0000 |
---|---|---|
committer | rh <rh@pkgsrc.org> | 2004-04-16 13:32:03 +0000 |
commit | 16f3e9ea422ae5d8f79fb9dca91ac6250793d33d (patch) | |
tree | 072d01eacf3b3a2583b24cdfdcb922db92f7cc97 /x11/gnustep-gui/Makefile | |
parent | d53ef3616d778f6663fc23c2c936f2c7e95bbe12 (diff) | |
download | pkgsrc-16f3e9ea422ae5d8f79fb9dca91ac6250793d33d.tar.gz |
Make this compile on systems without OSS (or emulation thereof).
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" |