summaryrefslogtreecommitdiff
path: root/x11/gnustep-gui
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2004-04-16 13:32:03 +0000
committerrh <rh@pkgsrc.org>2004-04-16 13:32:03 +0000
commit16f3e9ea422ae5d8f79fb9dca91ac6250793d33d (patch)
tree072d01eacf3b3a2583b24cdfdcb922db92f7cc97 /x11/gnustep-gui
parentd53ef3616d778f6663fc23c2c936f2c7e95bbe12 (diff)
downloadpkgsrc-16f3e9ea422ae5d8f79fb9dca91ac6250793d33d.tar.gz
Make this compile on systems without OSS (or emulation thereof).
Diffstat (limited to 'x11/gnustep-gui')
-rw-r--r--x11/gnustep-gui/Makefile13
-rw-r--r--x11/gnustep-gui/PLIST4
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