openbsd-ports/games/micropolis/patches/patch-src_tclx_config_mk
deanna 8d3d25317a Import micropolis
Micropolis, Unix Version, (A.K.A. "S*mC*ty"). This game was released
for the Unix platform in or about 1990 and has been modified for
inclusion in the One Laptop Per Child program. Copyright (C) 1989 -
2007 Electronic Arts Inc.

This port is based on patches written by Michael Gernoth, located at
http://git.zerfleddert.de/cgi-bin/gitweb.cgi/micropolis

Help from kurt@ and ian@, tested by lots of people, thanks!

ok ian@, espie@
2008-01-18 03:36:32 +00:00

26 lines
709 B
Plaintext

$OpenBSD: patch-src_tclx_config_mk,v 1.1.1.1 2008/01/18 03:36:32 deanna Exp $
--- src/tclx/config.mk.orig Fri Nov 30 21:49:55 2007
+++ src/tclx/config.mk Sun Jan 13 10:30:56 2008
@@ -60,9 +60,7 @@ XPM_LIBS=-L/usr/X11R6/lib -lXpm
# profiling is enabled, the DO_STRIPPING option below must be disabled.
#
-CC=gcc
-
-OPTIMIZE_FLAG=-O3 -DIS_LINUX
+OPTIMIZE_FLAG=-DIS_LINUX
#OPTIMIZE_FLAG=-g -DIS_LINUX
#------------------------------------------------------------------------------
@@ -78,8 +76,8 @@ DO_STRIPPING=false
# compiler and linker. Also the yacc program you wish to use.
#
AR=ar
-XCFLAGS=
-XLDFLAGS=
+XCFLAGS= -I%%X11BASE%%/include
+XLDFLAGS= -L%%X11BASE/lib
YACC=yacc
#YACC=bison -b y