summaryrefslogtreecommitdiff
path: root/multimedia/xanim/patches/patch-ab
blob: a59bd27985ec7a37d754151e207f7b30f02d4c8e (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
44
45
46
47
48
49
50
51
52
53
54
55
$NetBSD: patch-ab,v 1.3 2006/12/23 10:33:29 wiz Exp $

--- Imakefile.orig	2002-04-20 23:25:06.000000000 +0000
+++ Imakefile
@@ -120,14 +120,14 @@ XCOMM ### You may need this library.
 XCOMM XA_DLL_LIB = -ldl
 XCOMM
 XCOMM HP/UX should use the following:
-XA_DLL_DEF = -DXA_HPDLL
-XA_DLL_LIB = -Wl,-E -ldld
+XCOMM XA_DLL_DEF = -DXA_HPDLL
+XCOMM XA_DLL_LIB = -Wl,-E -ldld
 XCOMM
 XCOMM
 XCOMM If you'd like to change the default directory that XAnim searches while
 XCOMM looking for dlls, then change the directory below.
 XCOMM
-XA_DLL_PATH = /usr/local/xanim/mods
+XA_DLL_PATH = ${PREFIX}/lib/xanim
 
 
 XCOMM #########################################################################
@@ -138,8 +138,8 @@ XCOMM 
 XCOMM #########################################################################
 XCOMM 
 XCOMM  -- Uncomment these if you have the library libz.* on your machine.
-XCOMM XA_ZLIB_DEF = -DXA_ZLIB
-XCOMM XA_ZLIB_LIB = -lz
+XA_ZLIB_DEF = -DXA_ZLIB
+XA_ZLIB_LIB = -lz
 XCOMM
 XCOMM -- If the file libz.* is not in a directory that is normally
 XCOMM    searched by your linker, then you need to uncomment the
@@ -351,9 +351,9 @@ XCOMM  XA_AUDIO_DEFS = -DXA_HP_AUDIO
 XCOMM  XA_AUDIO_LIBS = -lAlib
 XCOMM  --
 XCOMM  -- HP/UX 10.x AServer
-XA_AUDIO_DEFS = -DXA_HP_AUDIO -DXA_HP10
-XA_AUDIO_LIBS = -L/opt/audio/lib -lAlib
-XA_AUDIO_INCS = -I/opt/audio/include
+XCOMM  XA_AUDIO_DEFS = -DXA_HP_AUDIO -DXA_HP10
+XCOMM  XA_AUDIO_LIBS = -L/opt/audio/lib -lAlib
+XCOMM  XA_AUDIO_INCS = -I/opt/audio/include
 XCOMM 
 XCOMM  ------ AF (AudioFile) Support ------------------------------------------
 XCOMM  -- You need to indicate where the AF libraries libAFUtil.a and libAF.a
@@ -470,7 +470,7 @@ DEFINES  = $(XA_DEFS)
 
 PROGRAMS = $(XANIM)
 
-INCLUDES = -I$(INCDIR) $(XA_INCS)
+INCLUDES = -I$(INCDIR) -I$(X11BASE)/include/X11 $(XA_INCS)
 
    LIBS1 = $(XA_LIBS) $(EXTENSIONLIB) $(XTOOLLIB) $(XLIB) -lm
 DEPLIBS1 = $(DEPEXTENSIONLIB) $(DEPXTOOLLIB) $(DEPXLIB)