1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/games/xosmulti/files/patch-aa
Seiichirou Hiraoka 2c277df827 Support X11BASE properly
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
PR: ports/21368
2000-11-28 00:02:56 +00:00

36 lines
798 B
Plaintext

--- Makefile.orig Sat Nov 28 17:59:36 1998
+++ Makefile Fri Feb 19 00:24:44 1999
@@ -4,17 +4,17 @@
TARGET = xosmulti
-CC = cc
-LINKER = cc
+CC ?= cc
+LINKER = $(CC)
#
# Set MAIL_SPOOL to moderate value for your environment.
#
-MAIL_SPOOL = '"/usr/spool/mail"'
+# MAIL_SPOOL = '"/usr/spool/mail"'
# MAIL_SPOOL = '"/usr/mail"'
-# MAIL_SPOOL = '"/var/mail"'
+MAIL_SPOOL = '"/var/mail"'
-CFLAGS = -O -DMAILBOX_DIRECTORY=$(MAIL_SPOOL)
+CFLAGS += -DMAILBOX_DIRECTORY=$(MAIL_SPOOL)
SRCS = $(TARGET).c image.c biff.c message.c
OBJS = $(SRCS:.c=.o)
@@ -22,8 +22,8 @@
LIBS = -lX11 -lXext
# LIBS = -lX11 -lXext -lsocket -lnsl # for Sun-OS
-# INC_DIR = -I/usr/X11R6/include
-# LIB_DIR = -L/usr/X11R6/lib
+INC_DIR = -I${X11BASE}/include
+LIB_DIR = -L${X11BASE}/lib
all: $(TARGET)