summaryrefslogtreecommitdiff
path: root/graphics/tgif-nls/files/patch-ab
blob: 2e938471520c6cce978b9b940653e42976e1bbd1 (plain) (blame)
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
--- Tgif.tmpl.orig	Wed Oct 24 07:09:18 2001
+++ Tgif.tmpl	Wed Oct 24 07:10:48 2001
@@ -41,6 +41,9 @@
 XIMPDEFINES      =
 #endif
 
+#define IHaveSubdirs
+SUBDIRS = po
+
 PROGRAMS	= tgif XCOMM prtgif frontend11.o testdrive
 TGIFDIR		= $(LIBDIR)/tgif
 XCOMM CDEBUGFLAGS= -g -Wall
@@ -61,14 +64,16 @@
 MISCDEFINES	= -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT \@@\
                   -D_USE_PS_ADOBE_STRING=\"3.0/3.0\" -D_DONT_USE_MKTEMP \@@\
 		  -D_DONT_REENCODE=\"FFDingbests:ZapfDingbats\"
-MOREDEFINES	=
+MOREDEFINES	= -DUSE_XT_INITIALIZE -D_ENABLE_NLS -DA4PAPER
 
 XCOMM ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 XCOMM Please see Imakefile for more defines to be added to MOREDEFINES above
 XCOMM ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
 DEPLIBS		= $(DEPXLIB)
-LOCAL_LIBRARIES	= $(XLIB)
+LOCAL_LIBRARIES	= $(XLIB) $(XTOOLLIB) $(XLIB)
 XCOMM LOCAL_LIBRARIES	= $(XMULIB) $(XTOOLLIB) $(XLIB)
 XCOMM SYS_LIBRARIES	= -ldl -lm
 SYS_LIBRARIES	= -lm
+EXTRA_INCLUDES	+= -I$(LOCALBASE)/include
+EXTRA_LIBRARIES	+= -L$(LOCALBASE)/lib -lintl

--- po/Po.tmpl.orig	Sat Jun 17 02:35:00 2000
+++ po/Po.tmpl	Sat Jun 17 02:35:26 2000
@@ -8,5 +8,5 @@
 MKINSTALLDIRS	= install -d
 
 DESTDIR		=
-SYSNLSDIR	= /usr/share/locale
+SYSNLSDIR	= $(PREFIX)/share/locale
 NLSDIR		= $(DESTDIR)$(SYSNLSDIR)