summaryrefslogtreecommitdiff
path: root/time/emiclock/patches/patch-ad
blob: 6dace7b5759f77b24178f577273154f1d4233ee0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
$NetBSD: patch-ad,v 1.5 2009/07/07 20:25:27 joerg Exp $

--- Imakefile.orig	1999-09-02 16:33:47.000000000 +0200
+++ Imakefile
@@ -106,6 +106,11 @@ XCOMM
 #define	StartupSound	myu.au
 #endif	/* i386BsdArchitecture && (i386FreeBsd || FreeBSDArchitecture) */
 
+/* NetBSD */
+#if defined(NetBSDArchitecture)
+#define	StartupSound	myu.au
+#endif	/* NetBSDArchitecture */
+
 #else	/* USE_NETAUDIO */
 
 /* netaudio (NCDaudio) */
@@ -143,7 +148,7 @@ XCOMM
 LOCAL_LIBRARIES = XawClientLibs
 # ifdef	USE_XAW3D
       DEPXAWLIB = $(USRLIBDIR)/libXaw3d.a
-         XAWLIB = -lXaw3d
+         XAWLIB = ${LIBXAW}
 # endif	/* USE_XAW3D */
 
   SYS_LIBRARIES = SoundLibrary -lm
@@ -219,6 +224,8 @@ XCOMM
 #define	ResourceDir	resources/Xaw3d
 #endif	/* !USE_XAW3D */
 
+AllTarget(EmiClock.ad)
+
 EmiClock.ad:: ResourceDir/EmiClock.ad
 	$(CP) ResourceDir/EmiClock.ad .
 
@@ -234,6 +241,6 @@ XCOMM
 
 #ifdef	USE_SOUND
 install:: sounds/StartupSound
-	MakeDir(EmiClockLib)
-	$(INSTALL) -c $(INSTAPPFLAGS) sounds/StartupSound EmiClockLib/StartupSound
+	MakeDir(${DESTDIR}EmiClockLib)
+	$(INSTALL) -c $(INSTAPPFLAGS) sounds/StartupSound ${DESTDIR}EmiClockLib/StartupSound
 #endif	/* USE_SOUND */