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 | 2a30691669e77e3d0f5527a63ee1b7013386cd99 (patch) | |
tree | 072d01eacf3b3a2583b24cdfdcb922db92f7cc97 | |
parent | f89c8ae4b4d0127fc66ccbd20013d92f12a707d0 (diff) | |
download | pkgsrc-2a30691669e77e3d0f5527a63ee1b7013386cd99.tar.gz |
Make this compile on systems without OSS (or emulation thereof).
-rw-r--r-- | x11/gnustep-gui/Makefile | 13 | ||||
-rw-r--r-- | x11/gnustep-gui/PLIST | 4 |
2 files changed, 14 insertions, 3 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" diff --git a/x11/gnustep-gui/PLIST b/x11/gnustep-gui/PLIST index 68e7f1ff80d..1cb69c91599 100644 --- a/x11/gnustep-gui/PLIST +++ b/x11/gnustep-gui/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.6 2004/04/10 23:44:28 rh Exp $ +@comment $NetBSD: PLIST,v 1.7 2004/04/16 13:32:03 rh Exp $ share/GNUstep/System/Library/Bundles/TextConverters/RTFConverter.bundle/RTFConverter share/GNUstep/System/Library/Bundles/TextConverters/RTFConverter.bundle/Resources/Info-gnustep.plist share/GNUstep/System/Library/Bundles/TextConverters/RTFConverter.bundle/stamp.make @@ -643,7 +643,7 @@ share/GNUstep/System/Library/PostScript/PPD/Swedish.lproj/Linotronic_300.ppd share/GNUstep/System/Library/PostScript/Printers share/GNUstep/System/Library/Services/GSspell.service/GSspell share/GNUstep/System/Library/Services/GSspell.service/Resources/Info-gnustep.plist -share/GNUstep/System/Tools/gnustep_sndd +${GSND}share/GNUstep/System/Tools/gnustep_sndd share/GNUstep/System/Tools/gopen share/GNUstep/System/Tools/make_services share/GNUstep/System/Tools/set_show_service |