1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/games/pmars/files/patch-aa
Satoshi Taoka 2b0492b77f Patch for building failure of games/pmars on the Package Builder.
PR:		11635
Submitted by:	Yasuhiro Fukuma <yasuf@big.or.jp>
1999-05-11 04:23:21 +00:00

26 lines
867 B
Plaintext

--- makefile.orig Fri Oct 27 06:37:29 1995
+++ makefile Sun Apr 11 20:36:53 1999
@@ -1,6 +1,6 @@
# generic UNIX makefile
#CC = gcc # req. for linux
-CC = cc # if you don't have gcc
+CC ?= cc # if you don't have gcc
# Configuration options:
#
# No. Name Incompatible with Description
@@ -15,11 +15,12 @@
# (5) -DSMALLMEM 16-bit addresses, less memory
# (6) -DXWINGRAPHX 1 X-Windows graphics (UNIX)
-CFLAGS = -O -DEXT94
+CFLAGS ?= -O
+CFLAGS += -I/usr/X11R6/include -DEXT94 -DGRAPHX -DXWINGRAPHX
LFLAGS = -x
LIB = -lcurses -ltermlib # enable this one for curses display
# LIB = -lvgagl -lvga # enable this one for Linux/SVGA
-# LIB = -lX11 # enable this one for X11
+LIB = -L/usr/X11R6/lib -lX11 # enable this one for X11
.SUFFIXES: .o .c .c~ .man .doc .6
MAINFILE = pmars