1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/graphics/tgif-nls/files/patch-ab
Steve Price 63e4f8628d Initial import of tgif-nls version 4.1.8.
A two-dimensional drawing tool with NLS message catalogs support.

PR:		11455
Submitted by:	Hajime Tanno <one@netlab.is.tsukuba.ac.jp>
1999-05-03 04:24:19 +00:00

40 lines
1.2 KiB
Plaintext

--- Tgif.tmpl.orig Sun May 2 18:21:54 1999
+++ Tgif.tmpl Sun May 2 18:24:06 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
@@ -58,16 +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/usr/local/include
EXTRA_LIBRARIES += -L/usr/local/lib -lintl