1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/games/xosmulti/files/patch-aa
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

36 lines
802 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${LOCALBASE}/include
+LIB_DIR = -L${LOCALBASE}/lib
all: $(TARGET)