$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)