1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/emulators/p-interp/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

32 lines
800 B
Plaintext

--- Makefile.orig Sun Jun 10 13:40:04 2001
+++ Makefile Tue Aug 21 07:07:13 2001
@@ -61,13 +61,13 @@
#
#
-PREFIX=/usr/local
+#PREFIX=/usr/local
SRCS=interpreter.c Memory.c Stack.c Sets.c Array.c native6502.c Longint.c \
UnitIo.c Term.c Diskio.c Printer.c Search.c turtlegr.c ptrace.c
OBJS=$(SRCS:%.c=%.o)
-X11=/opt/X11
+X11=${LOCALBASE}
X11_INCLUDE=$(X11)/include
X11_LIB=$(X11)/lib
@@ -105,10 +105,10 @@
$(CC) -o $@ -g xturtleserver.c -I$(X11_INCLUDE) -L$(X11_LIB) -R$(X11_LIB) -lXt -lX11 -lm
ucsd: $(OBJS)
- $(CC) -o $@ $(OBJS) -lncurses_g -lm
+ $(CC) -o $@ $(OBJS) -lncurses -lm
svolio: svolio.o Diskio.o Memory.o
- $(CC) -o $@ $+ -lcurses
+ $(CC) -o $@ $> -lcurses
depend:
$(MAKEDEPEND) -DMAKEDEPEND $(INCLUDES) $(DEFINES) $(SRCS) svolio.c svolcvt.c xturtleserver.c