summaryrefslogtreecommitdiff
path: root/x11-clocks
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-05-31 05:05:05 +0000
committerSteve Price <steve@FreeBSD.org>1999-05-31 05:05:05 +0000
commitf7da5be66fa0b4c8c59e444a9891f39f8f5ca881 (patch)
treec86f53e02da1c4dcbb8f3ae9e12fb8dcc79d44a4 /x11-clocks
parentThis now works on the Alpha too. (diff)
Turn off sound support on Alpha.
Notes
Notes: svn path=/head/; revision=19141
Diffstat (limited to 'x11-clocks')
-rw-r--r--x11-clocks/emiclock/Makefile6
-rw-r--r--x11-clocks/emiclock/files/patch-aa11
-rw-r--r--x11-clocks/emiclock/pkg-plist.nosound5
3 files changed, 17 insertions, 5 deletions
diff --git a/x11-clocks/emiclock/Makefile b/x11-clocks/emiclock/Makefile
index d3cd5de9c580..65992ad0dc61 100644
--- a/x11-clocks/emiclock/Makefile
+++ b/x11-clocks/emiclock/Makefile
@@ -3,7 +3,7 @@
# Date created: 15 March 1995
# Whom: Nobuhiro Yasutomi
#
-# $Id: Makefile,v 1.12 1998/09/22 22:32:07 asami Exp $
+# $Id: Makefile,v 1.13 1998/12/01 23:37:52 billf Exp $
#
DISTNAME= emiclock-1.0.4
@@ -12,6 +12,10 @@ MASTER_SITES= ftp://ftp.plaza.hitachi-sk.co.jp/pub/EmiClock/X11/
MAINTAINER= nobu@psrc.isac.co.jp
+.if ${MACHINE_ARCH} != "i386"
+PLIST= ${PKGDIR}/PLIST.nosound
+.endif
+
USE_IMAKE= yes
MAN1= emiclock.1
diff --git a/x11-clocks/emiclock/files/patch-aa b/x11-clocks/emiclock/files/patch-aa
index 90e054dbd281..5745c6daa4fc 100644
--- a/x11-clocks/emiclock/files/patch-aa
+++ b/x11-clocks/emiclock/files/patch-aa
@@ -1,11 +1,14 @@
---- config.h~ Thu Jun 30 16:34:57 1994
-+++ config.h Wed Mar 15 10:52:12 1995
-@@ -51,7 +51,7 @@
+--- config.h.orig Fri Jan 10 20:35:43 1997
++++ config.h Sun May 30 11:50:50 1999
+@@ -51,7 +51,11 @@
* $B%5%&%s%I4X78$N@_Dj(B
*/
--#undef USE_SOUND /* $B%5%&%s%I$r;H$&!)(B */
++#ifdef __i386
+#define USE_SOUND /* $B%5%&%s%I$r;H$&!)(B */
++#else
+ #undef USE_SOUND /* $B%5%&%s%I$r;H$&!)(B */
++#endif
/* #define EmiClockLib /usr/local/lib/X11/EmiClock */
/* $(LIBDIR)/EmiClock $B0J30$N>l=j$K%5%&%s%I%U%!%$%k$r%$%s%9%H!<%k(B */
diff --git a/x11-clocks/emiclock/pkg-plist.nosound b/x11-clocks/emiclock/pkg-plist.nosound
new file mode 100644
index 000000000000..ce95063da8a4
--- /dev/null
+++ b/x11-clocks/emiclock/pkg-plist.nosound
@@ -0,0 +1,5 @@
+bin/emiclock
+lib/X11/app-defaults/EmiClock
+lib/X11/ja_JP.EUC/app-defaults/EmiClock
+lib/X11/EmiClock/COPYRIGHT
+lib/X11/EmiClock/COPYRIGHT.en