pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/gnustep-gui Make this compile on systems without O...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b86d6d73fe8b
branches: trunk
changeset: 473109:b86d6d73fe8b
user: rh <rh%pkgsrc.org@localhost>
date: Fri Apr 16 13:32:03 2004 +0000
description:
Make this compile on systems without OSS (or emulation thereof).
diffstat:
x11/gnustep-gui/Makefile | 13 ++++++++++++-
x11/gnustep-gui/PLIST | 4 ++--
2 files changed, 14 insertions(+), 3 deletions(-)
diffs (45 lines):
diff -r ab62d38adc8b -r b86d6d73fe8b x11/gnustep-gui/Makefile
--- a/x11/gnustep-gui/Makefile Fri Apr 16 13:30:49 2004 +0000
+++ b/x11/gnustep-gui/Makefile Fri Apr 16 13:32:03 2004 +0000
@@ -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 @@
.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 -r ab62d38adc8b -r b86d6d73fe8b x11/gnustep-gui/PLIST
--- a/x11/gnustep-gui/PLIST Fri Apr 16 13:30:49 2004 +0000
+++ b/x11/gnustep-gui/PLIST Fri Apr 16 13:32:03 2004 +0000
@@ -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/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
Home |
Main Index |
Thread Index |
Old Index