summaryrefslogtreecommitdiff
path: root/audio/xanalyser/patches/patch-ad
blob: 2f10dc84114661a4b32685e95f1e8d20dbec7c9f (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
$NetBSD: patch-ad,v 1.4 2005/01/09 08:37:48 schmonz Exp $

--- src/Makefile.in.orig	2004-08-28 17:06:57.000000000 -0400
+++ src/Makefile.in
@@ -107,7 +107,7 @@ xanalyser_SOURCES = \
 
 
 xanalyser_LDADD = -lXext -lXm -lXt -lSM -lICE -lXmu -lXpm -lX11		\
-	$(FFTWLDADD) $(ALSALDADD)
+	${LIBOSSAUDIO} $(FFTWLDADD) $(ALSALDADD)
 
 
 EXTRA_DIST = XAnalyser.ad help.txt *.xpm
@@ -375,8 +375,8 @@ uninstall-am: uninstall-binPROGRAMS unin
 
 main.cc: XAnalyser.ad.h
 
-XAnalyser.ad.h: XAnalyser.ad
-	ad2c XAnalyser.ad > XAnalyser.ad.h
+#XAnalyser.ad.h: XAnalyser.ad
+#	ad2c XAnalyser.ad > XAnalyser.ad.h
 
 help.cc: help.txt.h
 
@@ -384,8 +384,8 @@ help.txt.h: help.txt
 	txt2c help.txt > help.txt.h
 
 install-data-hook:
-	mkdir -p $(DESTDIR)/usr/X11R6/lib/X11/app-defaults
-	cp XAnalyser.ad $(DESTDIR)/usr/X11R6/lib/X11/app-defaults/XAnalyser
+	mkdir -p $(DESTDIR)$(prefix)/lib/X11/app-defaults
+	cp XAnalyser.ad $(DESTDIR)$(prefix)/lib/X11/app-defaults/XAnalyser
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT: