freebsd-ports/games/xvmahjongg/files/patch-ab
Thomas Gellekum 27734e21b8 New port xvmahjongg; the solitaire version for Xview.
PR:		6090
Submitted by:	Andrey Zakhvatov <andy@icc.surw.chel.su>
1998-05-14 07:11:06 +00:00

26 lines
877 B
Text

--- Makefile.orig Fri Dec 20 23:33:15 1991
+++ Makefile Thu May 14 09:05:45 1998
@@ -29,12 +29,12 @@
# Root directory of XView developers package
# For OpenWindows users, this is the same as $OPENWINHOME.
-XVIEWROOT = ${OPENWINHOME}
+XVIEWROOT = ${X11BASE}
# If not in OpenWindows, need to specify directory where libxview
# and libolgx are.
# For OpenWindows users, this is taken care of via $LD_LIBRARY_PATH.
-XVIEWLIBDIR =
+XVIEWLIBDIR = -L${X11BASE}/lib
# e.g., XVIEWLIBDIR = -L/usr/openwin/lib
# This -L... stuff may only be appropriate in a SunOS environment,
# so do what's appropriate in your environment. The -L<pathname>
@@ -45,7 +45,7 @@
# currently only necessary when compiling icons.o
TARGET=
-CFLAGS = -O -I${XVIEWROOT}/include
+CFLAGS+= -I${XVIEWROOT}/include
SWOBJS = icons.o mahjongg.o event.o
SWLIBS= ${XVIEWLIBDIR} -lxview -lolgx -lX11