freebsd-ports/x11/tycoon/files/patch-ad
Patrick Li 37b0e0142c Fix build
PR:		ports/43686
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
2002-10-09 01:41:07 +00:00

23 lines
919 B
Text

--- xchooser/Imakefile.orig Sun Oct 15 19:06:15 1995
+++ xchooser/Imakefile Wed Nov 1 08:12:46 2000
@@ -2,14 +2,14 @@
SRCS = xchooser.c xchooser_cb.c xchooser_main.c
OBJS = xchooser.o xchooser_cb.o xchooser_main.o
XCOMM for LINUX:
-EXTRA_LIBRARIES = -L/usr/local/lib -L/u/grad/mitnits/lib -lforms -lXpm -lm XCOMM
+XCOMM EXTRA_LIBRARIES = -L/usr/local/lib -L/u/grad/mitnits/lib -lforms -lXpm -lm XCOMM
-XCOMM FOR Solaris
-XCOMM EXTRA_LIBRARIES = -L/usr/local/lib -L/u/grad/mitnits/lib -lforms -lXpm -lm -lnsl
+XCOMM FOR FreeBSD
+EXTRA_LIBRARIES = -lforms -lXpm -lm
-EXTRA_INCLUDES = -I/usr/local/include -I/u/grad/mitnits/lib -I.
-EXTRA_DEFINES = -DICON_DIR=\"/usr/include/X11/pixmaps\"
+EXTRA_INCLUDES = -I. -I${INCDIR}/X11
+EXTRA_DEFINES = -DICON_DIR=\"${INCDIR}/pixmaps\"
LDLIBS = $(EXTRA_LIBRARIES) $(EXTENSIONLIB) $(XLIB)
-ComplexProgramTarget(xchooser)
+ComplexProgramTargetNoMan(xchooser)