source: trunk/dports/games/jnethack/files/x11/patch-sys__unix__Makefile.src @ 19227

Last change on this file since 19227 was 19227, checked in by takanori, 13 years ago

New port: jnethack
Bug: 10513
Submitted by: kyut@…
Reviewed by: takanori@

  • Property svn:eol-style set to native
File size: 1.4 KB
Line 
1--- sys/unix/Makefile.src       2006-08-05 16:00:44.000000000 +0900
2+++ sys/unix/Makefile.src       2006-08-05 16:06:00.000000000 +0900
3@@ -154,8 +154,8 @@
4 # flags for debugging:
5 # CFLAGS = -g -I../include
6 
7-CFLAGS = -W -g -O -I../include
8-LFLAGS =
9+CFLAGS = -O -I../include -I/usr/X11R6/include
10+LFLAGS = -L/usr/X11R6/lib
11 
12 # The Qt and Be window systems are written in C++, while the rest of
13 # NetHack is standard C.  If using Qt, uncomment the LINK line here to get
14@@ -227,8 +227,8 @@
15 
16 #
17 #
18-WINSRC = $(WINTTYSRC)
19-WINOBJ = $(WINTTYOBJ)
20+WINSRC = $(WINTTYSRC) $(WINX11SRC)
21+WINOBJ = $(WINTTYOBJ) $(WINX11OBJ)
22 
23 # on some systems the termcap library is in -ltermcap or -lcurses
24 # on 386 Xenix, the -ltermlib tputs() seems not to work; use -lcurses instead
25@@ -248,9 +248,9 @@
26 #
27 # libraries for X11
28 # If USE_XPM is defined in config.h, you will also need -lXpm here.
29-WINX11LIB = -lXaw -lXmu -lXext -lXt -lX11
30+# WINX11LIB = -lXaw -lXmu -lXext -lXt -lX11
31 # WINX11LIB = -lXaw -lXmu -lXt -lX11
32-# WINX11LIB = -lXaw -lXmu -lXext -lXt -lXpm -lX11 -lm
33+WINX11LIB = -lXaw -lXmu -lXext -lXt -lXpm -lX11 -lm
34 # WINX11LIB = -lXaw -lXmu -lXpm -lXext -lXt -lX11 -lSM -lICE -lm # BSD/OS 2.0
35 #
36 # libraries for Qt
37@@ -268,7 +268,7 @@
38 # libraries for BeOS
39 WINBELIB = -lbe
40 
41-WINLIB = $(WINTTYLIB)
42+WINLIB = $(WINTTYLIB) $(WINX11LIB)
43 
44 # any other strange libraries your system needs (for Sysunix only -- the more
45 # specialized targets should already be right)
Note: See TracBrowser for help on using the repository browser.