1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/graphics/tgif-nls/files/patch-ab

59 lines
1.9 KiB
Plaintext
Raw Normal View History

--- Tgif.tmpl.orig Sun May 30 05:32:54 1999
+++ Tgif.tmpl Sun May 30 05:33:12 1999
@@ -41,6 +41,15 @@
XIMPDEFINES =
#endif
+#define IHaveSubdirs
+
+SUBDIRS = po
+
+#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'
+
+MakeSubdirs($(SUBDIRS))
+DependSubdirs($(SUBDIRS))
+
PROGRAMS = tgif XCOMM prtgif frontend11.o testdrive
XCOMM CDEBUGFLAGS= -g -Wall
XCOMM INSTPGMFLAGS= -s
@@ -48,7 +57,7 @@
XCOMM MANPATH = /u/halfmoon/man
XCOMM TGIFDIR = /u/halfmoon/lib/X11/tgif
TGIFDIR = $(LIBDIR)/tgif
-LOCALEDIR = /usr/share/locale
+LOCALEDIR = $(PREFIX)/share/locale
DIRDEFINES = -DTGIF_PATH=\"$(TGIFDIR)\" -DPSFILE_MOD=0664 \@@\
-DLOCALEDIR=\"$(LOCALEDIR)\" \@@\
-DTELEPORT_ATTR=\"warp_to=\" -DTMP_DIR=\"/tmp/\" \@@\
@@ -58,14 +67,16 @@
-DOBJ_FILE_EXT=\"obj\" -DSYM_FILE_EXT=\"sym\" \@@\
-DTEXT_FILE_EXT=\"txt\" -DPIN_FILE_EXT=\"pin\"
MISCDEFINES = -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT
-MOREDEFINES =
+MOREDEFINES = -DUSE_XT_INITIALIZE -D_ENABLE_NLS
XCOMM ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
XCOMM Please see Imakefile for more defines to be added to MOREDEFINES above
XCOMM ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
DEPLIBS = $(DEPXLIB)
-LOCAL_LIBRARIES = $(XLIB)
-XCOMM LOCAL_LIBRARIES = $(XMULIB) $(XTOOLLIB) $(XLIB)
+XCOMM LOCAL_LIBRARIES = $(XLIB)
+LOCAL_LIBRARIES = $(XMULIB) $(XTOOLLIB) $(XLIB)
XCOMM SYS_LIBRARIES = -ldl -lm
-SYS_LIBRARIES = -lm
+SYS_LIBRARIES = -lm -lcompat
+EXTRA_INCLUDES += -I$(LOCALBASE)/include
+EXTRA_LIBRARIES += -L$(LOCALBASE)/lib -lintl
--- po/Po.tmpl.orig Sun Apr 4 03:27:53 1999
+++ po/Po.tmpl Sun May 30 05:33:12 1999
@@ -8,5 +8,5 @@
MKINSTALLDIRS = install -d
DESTDIR =
-SYSNLSDIR = /usr/share/locale
+SYSNLSDIR = $(PREFIX)/share/locale
NLSDIR = $(DESTDIR)$(SYSNLSDIR)